:root {
  --primary: #FF5900;
  --primary-dark: #E04D00;
  --ink: #252525;
  --muted: #6b7280;
  --line: #ececec;
  --paper: #ffffff;
  --soft: #f7f7f5;
  --glow: #5d428c;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(23, 23, 23, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.slab {
  font-family: "Zilla Slab", Georgia, serif;
}

.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
}

.topbar-inner,
.nav-inner,
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.topbar a {
  opacity: 0.94;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-inner {
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  color: #5b5b5b;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(255, 89, 0, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(255, 89, 0, 0.24);
}

.btn-primary:hover {
  background: var(--glow);
  box-shadow: 0 18px 34px rgba(93, 66, 140, 0.26);
}

.btn-ghost {
  color: var(--primary);
  background: #fff;
  border: 1px solid rgba(255, 89, 0, 0.24);
}

.btn-dark {
  color: #fff;
  background: #2d2d2d;
}

.btn-ghost:hover {
  color: var(--glow);
  background: rgba(93, 66, 140, 0.08);
  border-color: var(--glow);
  box-shadow: 0 14px 28px rgba(93, 66, 140, 0.18);
}

.btn-dark:hover {
  background: var(--glow);
  box-shadow: 0 16px 32px rgba(93, 66, 140, 0.22);
}

.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #151515;
}

.hero>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 42%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -14%;
  top: -32%;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(93, 66, 140, 0.2), transparent 62%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 76px 0 58px;
  color: #fff;
}

.hero-clean {
  min-height: 560px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 8%, rgba(93, 66, 140, 0.075), transparent 28%),
    linear-gradient(180deg, #fff, #f7f7f5);
}

.hero-clean::before {
  background:
    linear-gradient(90deg, rgba(255, 89, 0, 0.08), transparent 52%),
    repeating-linear-gradient(45deg, rgba(37, 37, 37, 0.035) 0, rgba(37, 37, 37, 0.035) 1px, transparent 0, transparent 18px);
}

.hero-clean .hero-content {
  padding: 70px 0;
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-clean h1 {
  color: var(--ink);
}

.hero-clean .hero-copy p {
  color: #5f6368;
}

.hero-clean .btn-ghost {
  background: #fff;
}

.hero-clean .btn-ghost:hover {
  color: var(--glow);
  background: rgba(93, 66, 140, 0.08);
  border-color: var(--glow);
}

.hero-media {
  position: relative;
  z-index: 1;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-media.portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-media.contain {
  padding: 26px;
}

.hero-media.contain img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.language-hero-card {
  min-height: 360px;
  background: #1f1f1f;
}

.language-hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
}

.language-hero-card.focus-left img {
  object-position: left center;
}

.employability-hero-card {
  min-height: 390px;
  padding: 34px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 82% 12%, rgba(93, 66, 140, 0.09), transparent 28%),
    linear-gradient(145deg, #fff, #f7f7f5);
}

.employability-hero-card img {
  width: min(100%, 360px);
  max-height: 350px;
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(23, 23, 23, 0.16));
}

.practice-hero-card {
  min-height: 390px;
  padding: 38px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 82% 16%, rgba(93, 66, 140, 0.16), transparent 30%),
    linear-gradient(145deg, var(--primary), var(--primary-dark));
}

.practice-hero-card img {
  width: min(100%, 420px);
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.2));
}

.planning-hero-card {
  min-height: 390px;
  padding: 38px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 85% 12%, rgba(93, 66, 140, 0.14), transparent 30%),
    linear-gradient(145deg, #fff, #f7f7f5);
}

.planning-symbol {
  width: min(100%, 390px);
  min-height: 280px;
  border-radius: 24px;
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.planning-symbol .material-symbols-outlined {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary);
  font-size: 42px;
}

.planning-symbol strong {
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.cimap-hero-card {
  min-height: 390px;
  padding: 34px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 78% 14%, rgba(93, 66, 140, 0.16), transparent 30%),
    linear-gradient(145deg, #fff, #f7f7f5);
}

.cimap-orbit {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(255, 89, 0, 0.65), rgba(93, 66, 140, 0.34)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 22px rgba(255, 89, 0, 0.04);
}

.cimap-orbit::before,
.cimap-orbit::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px dashed rgba(93, 66, 140, 0.22);
}

.cimap-orbit::before {
  inset: 48px;
}

.cimap-orbit::after {
  inset: 96px;
  border-color: rgba(255, 89, 0, 0.24);
}

.cimap-orbit .material-symbols-outlined {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary);
  font-size: 42px;
  box-shadow: 0 18px 38px rgba(255, 89, 0, 0.22);
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
}

.cimap-orbit .material-symbols-outlined:nth-child(1) {
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.cimap-orbit .material-symbols-outlined:nth-child(2) {
  right: 18px;
  top: 50%;
  background: var(--glow);
  transform: translateY(-50%);
  box-shadow: 0 18px 38px rgba(93, 66, 140, 0.22);
}

.cimap-orbit .material-symbols-outlined:nth-child(3) {
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.cimap-orbit .material-symbols-outlined:nth-child(4) {
  left: 18px;
  top: 50%;
  background: #2d2d2d;
  transform: translateY(-50%);
  box-shadow: 0 18px 38px rgba(45, 45, 45, 0.16);
}

.cimap-links {
  align-self: stretch;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card {
  min-height: 268px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-date {
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 89, 0, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.news-card h3 {
  margin-top: 18px;
}

.news-card .mini-button {
  margin-top: auto;
}

.cimap-blog-section {
  padding: 46px 0 42px;
  background:
    radial-gradient(circle at 92% 8%, rgba(93, 66, 140, 0.07), transparent 24%),
    #fff;
  border-bottom: 1px solid var(--line);
}

.blog-head {
  margin-bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.blog-head h2 {
  max-width: 680px;
  margin: 8px 0 0;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.blog-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.blog-carousel-shell {
  position: relative;
}

.carousel-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 89, 0, 0.26);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #fff;
  box-shadow: 0 12px 26px rgba(23, 23, 23, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.carousel-arrow:hover {
  color: #fff;
  background: var(--glow);
  border-color: var(--glow);
  transform: translateY(-2px);
}

.carousel-arrow .material-symbols-outlined {
  font-size: 24px;
}

.carousel-arrow-left,
.carousel-arrow-right {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
}

.carousel-arrow-left {
  left: -23px;
}

.carousel-arrow-right {
  right: -23px;
}

.carousel-arrow-left:hover,
.carousel-arrow-right:hover {
  transform: translateY(-50%) scale(1.04);
}

.blog-carousel {
  display: grid;
  grid-auto-columns: minmax(330px, 380px);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 24px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--primary) rgba(255, 89, 0, 0.12);
}

.blog-card {
  min-height: 430px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 89, 0, 0.3);
  box-shadow: 0 22px 60px rgba(23, 23, 23, 0.13);
}

.blog-icon {
  position: absolute;
  left: 18px;
  bottom: -28px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary);
  font-size: 32px;
  box-shadow: 0 16px 30px rgba(255, 89, 0, 0.2);
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 40;
  transition: background 0.18s ease;
}

.blog-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #f1f1f1;
}

.blog-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-media-placeholder {
  aspect-ratio: 3 / 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.blog-media-placeholder .material-symbols-outlined {
  font-size: 64px;
}

.blog-card:hover .blog-media img {
  transform: scale(1.04);
}

.blog-body {
  min-height: 236px;
  width: 100%;
  padding: 42px 26px 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.blog-card:hover .blog-icon,
.blog-card:hover .mini-button {
  background: var(--glow);
}

.blog-card h3 {
  margin: 18px 0 8px;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 25px;
  line-height: 1.04;
}

.blog-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.blog-card .mini-button {
  margin-top: auto;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.06);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "expand_more";
  float: right;
  color: var(--primary);
  font-family: "Material Symbols Outlined";
  transition: transform 0.18s ease, color 0.18s ease;
}

.faq-item[open] summary::after {
  color: var(--glow);
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.language-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.06) 58%),
    linear-gradient(90deg, rgba(255, 89, 0, 0.2), transparent 42%);
}

.language-hero-card .hero-badge {
  z-index: 1;
  left: 26px;
  bottom: 26px;
}

.hero-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: #fff;
  background: rgba(255, 89, 0, 0.94);
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: 0 16px 34px rgba(255, 89, 0, 0.24);
}

.hero-badge strong {
  display: block;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 26px;
  line-height: 0.95;
}

.hero-badge span {
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.page-title h1 {
  margin: 14px 0 18px;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero p {
  max-width: 590px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quick-card,
.card,
.contact-card,
.link-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-card {
  position: relative;
  padding: 22px 24px;
  padding-right: 70px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 89, 0, 0.3);
  box-shadow: 0 22px 60px rgba(23, 23, 23, 0.13);
}

.quick-card::after {
  content: "arrow_forward";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255, 89, 0, 0.08);
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
  transform: translateY(-50%);
}

.quick-card:hover::after {
  color: #fff;
  background: var(--glow);
  transform: translateY(-50%) translateX(3px);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255, 89, 0, 0.1);
  flex: 0 0 auto;
}

.quick-card .icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow:
    0 18px 36px rgba(255, 89, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-size: 42px;
  line-height: 1;
  flex-shrink: 0;
}

.material-symbols-outlined.icon,
.quick-card .material-symbols-outlined.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
}

.quick-card .material-symbols-outlined.icon {
  /* Compensa el espacio inferior propio de las métricas de Material Symbols. */
  padding-top: 2px;
}

.quick-card strong,
.link-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.quick-copy,
.quick-copy span,
.link-card span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.quick-copy strong {
  color: #4b5563;
}

#servicios .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#servicios .card .icon {
  margin-bottom: 4px;
}

.section {
  padding: 86px 0;
}

.section.soft {
  background:
    radial-gradient(circle at 88% 8%, rgba(93, 66, 140, 0.055), transparent 28%),
    var(--soft);
}

.section-head {
  max-width: 710px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.page-title h2 {
  margin: 8px 0 12px;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1;
  font-weight: 900;
}

.bar {
  width: 48px;
  height: 4px;
  margin: 18px 0;
  border-radius: 999px;
  background: var(--primary);
}

.center .bar {
  margin-inline: auto;
}

.section-head p,
.page-title p {
  color: var(--muted);
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.visual-card {
  position: relative;
}

.visual-card .main-visual {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.visual-card .stamp {
  position: absolute;
  right: -10px;
  bottom: -16px;
  width: 155px;
  opacity: 0.95;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.12));
}

.info-panel {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.info-panel p {
  color: var(--muted);
  margin: 0 0 18px;
}

.feature-list {
  display: grid;
  gap: 13px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #4b5563;
}

.feature-list .material-symbols-outlined {
  color: var(--primary);
  font-size: 20px;
  margin-top: 2px;
}

.language-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.language-pill {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.language-pill .material-symbols-outlined {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255, 89, 0, 0.08);
  font-size: 29px;
  margin-bottom: 18px;
}

.language-pill strong {
  display: block;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.language-pill small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 7px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cards-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.card {
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover,
.link-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(23, 23, 23, 0.13);
}

.card h3 {
  margin: 18px 0 8px;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 24px;
  line-height: 1.05;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.page-title {
  padding: 74px 0 46px;
  background:
    radial-gradient(circle at 84% 0%, rgba(93, 66, 140, 0.08), transparent 24%),
    linear-gradient(180deg, #fff, #fafafa);
  border-bottom: 1px solid var(--line);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.link-card {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.link-card:hover {
  border-color: rgba(255, 89, 0, 0.28);
}

.resource-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.resource-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255, 89, 0, 0.08);
  font-size: 31px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 40;
  transition: color 0.22s ease, background 0.22s ease;
}

#tutoriales .material-symbols-outlined.resource-icon,
#estrategia .material-symbols-outlined.resource-icon,
#pasos .material-symbols-outlined.resource-icon,
#manuales .material-symbols-outlined.resource-icon,
#horas .material-symbols-outlined.resource-icon,
#recursos .material-symbols-outlined.resource-icon,
#testimonio .material-symbols-outlined.resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  /* Compensa el espacio inferior propio de las métricas de Material Symbols. */
  padding-top: 2px;
}

.resource-card:hover .resource-icon {
  color: #fff;
  background: var(--primary);
}

.resource-card .resource-copy {
  display: block;
  padding: 22px 44px 0 0;
}

.resource-card .resource-copy strong {
  display: block;
  color: var(--ink);
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 25px;
  line-height: 1.02;
}

.resource-card .resource-copy span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.resource-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255, 89, 0, 0.08);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.caf-resources .material-symbols-outlined.resource-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  /* Compensa el espacio inferior propio de las métricas de Material Symbols. */
  padding-top: 2px;
}

.resource-card:hover .resource-arrow {
  color: #fff;
  background: var(--glow);
  transform: translateX(3px);
}

.step-card {
  position: relative;
  min-height: 260px;
}

.linked-step {
  color: inherit;
  cursor: pointer;
}

.mini-button {
  margin-top: 18px;
  min-height: 38px;
  width: fit-content;
  max-width: 100%;
  padding: 9px 13px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  box-shadow: 0 12px 24px rgba(255, 89, 0, 0.18);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.linked-step:hover .mini-button {
  background: var(--glow);
  transform: translateY(-1px);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(255, 89, 0, 0.22);
}

.step-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255, 89, 0, 0.08);
  font-size: 31px;
  margin: 22px 0 18px;
}

#requisito .material-symbols-outlined.step-icon,
#proceso .material-symbols-outlined.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  /* Compensa el espacio inferior propio de las métricas de Material Symbols. */
  padding-top: 2px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cert-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 72px 26px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cert-card::after {
  content: "arrow_forward";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255, 89, 0, 0.08);
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  transform: translateY(-50%);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 89, 0, 0.3);
  box-shadow: 0 22px 60px rgba(23, 23, 23, 0.13);
}

.cert-card:hover::after {
  color: #fff;
  background: var(--glow);
  transform: translateY(-50%) translateX(3px);
}

.cert-card strong {
  display: block;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 25px;
  line-height: 1;
  margin-bottom: 8px;
}

.cert-card span {
  color: var(--muted);
  font-size: 14px;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.committee-card {
  min-height: 214px;
}

.committee-card .resource-icon {
  margin-bottom: 18px;
}

#comites .material-symbols-outlined.resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  /* Compensa el espacio inferior propio de las métricas de Material Symbols. */
  padding-top: 2px;
}

.activities-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: stretch;
}

.wide-media-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 24px;
  background: #1f1f1f;
  box-shadow: var(--shadow);
}

.wide-media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wide-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.04) 55%),
    linear-gradient(90deg, rgba(255, 89, 0, 0.22), transparent 46%);
}

.wide-media-card .hero-badge {
  z-index: 1;
}

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-pill {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.activity-pill .material-symbols-outlined {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--primary);
  background: rgba(255, 89, 0, 0.08);
}

.activity-pill strong {
  line-height: 1.2;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.metric-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.metric-card strong {
  display: block;
  color: var(--primary);
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tutorial-card {
  min-height: 230px;
}

.tutorial-card .btn {
  margin-top: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 26px;
  align-items: stretch;
}

.contact-card {
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.profile {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.profile img {
  width: 106px;
  height: 106px;
  border-radius: 999px;
  object-fit: cover;
  background: #f2f2f2;
}

.profile h2 {
  margin: 0;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 28px;
}

.profile p {
  margin: 3px 0 0;
  color: var(--primary);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #4b5563;
}

.contact-list .material-symbols-outlined {
  color: var(--primary);
  font-size: 22px;
}

.cta-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 89, 0, 0.96), rgba(224, 77, 0, 0.96)),
    var(--primary);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(93, 66, 140, 0.18);
  z-index: -1;
  pointer-events: none;
}

.cta-band h2 {
  position: relative;
  margin: 0 0 6px;
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.cta-band p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band>* {
  position: relative;
  z-index: 1;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-main {
  display: grid;
  /* grid-template-columns: 1.2fr 0.8fr 1fr; */
  gap: 36px;
  padding: 52px 0;
}

.footer-main img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer-main p,
.footer-main a {
  color: var(--muted);
  font-size: 14px;
}

.footer-main h3 {
  margin: 0 0 14px;
  font-family: "Zilla Slab", Georgia, serif;
}

.footer-main ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  background: #2d2d2d;
  color: rgba(255, 255, 255, 0.66);
  padding: 16px 0;
  font-size: 12px;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .nav-inner {
    grid-template-columns: 1fr;
    height: auto;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-inner>.btn {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .quick-grid,
  .cards-3,
  .cards-5,
  .split,
  .links-grid,
  .contact-layout,
  .hero-grid,
  .cert-grid,
  .language-panel,
  .committee-grid,
  .activities-layout,
  .metric-grid,
  .tutorial-grid,
  .news-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    margin-top: 18px;
  }

  .section {
    padding: 66px 0;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {

  .topbar-inner,
  .nav-inner,
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .hero h1,
  .page-title h1 {
    font-size: 42px;
  }

  .profile {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-controls {
    display: flex;
  }

  .carousel-arrow-left,
  .carousel-arrow-right {
    display: none;
  }

  .blog-controls {
    flex-wrap: wrap;
  }

  .blog-carousel {
    grid-auto-columns: minmax(286px, 88vw);
  }

  .cimap-hero-card {
    min-height: 330px;
  }

  .cimap-orbit .material-symbols-outlined {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    font-size: 34px;
  }
}
