/* ==========================================================================
   INSTITUTO LA VIÑA CHILE — Hoja de estilos del sitio
   Paleta: negro + blanco roto, un solo acento (verde oliva / viña)
   Tipografía: Archivo (condensada, titulares) + Inter (lectura)
   ========================================================================== */

/* Fuentes alojadas en el propio sitio (más rápido y sin depender de Google) */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Color */
  --black: #0A0A0A;
  --black-2: #121212;      /* tarjetas sobre negro */
  --black-3: #1A1A1A;      /* hover tarjetas */
  --bone: #F5F3EF;         /* blanco roto, secciones claras */
  --bone-2: #EAE7E0;       /* tarjetas sobre blanco roto */
  --white: #FFFFFF;
  --muted: #8C8C86;        /* texto secundario sobre negro (5.8:1) */
  --muted-dark: #5E5B55;   /* texto secundario sobre blanco roto (6.1:1) */
  --line: rgba(255,255,255,.14);
  --line-dark: rgba(10,10,10,.14);
  --accent: #6B7A4F;       /* verde oliva / viña — botones sólidos */
  --accent-hover: #5C6A42;
  --accent-on-dark: #A3B07F;  /* acento para texto sobre negro (8.5:1) */
  --accent-on-light: #56633F; /* acento para texto sobre blanco roto (5.8:1) */

  /* Tipografía */
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Espaciado */
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 14vw, 180px);
  --max: 1360px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 3px; }
.sec--light :focus-visible { outline-color: var(--accent-on-light); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--black); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { padding: var(--section) 0; position: relative; }
.sec--light { background: var(--bone); color: var(--black); }
.sec--tight { padding: clamp(64px, 9vw, 120px) 0; }
.sec + .sec:not(.sec--light):not(.cta-full) { border-top: 1px solid var(--line); }

/* ---------- Tipografía ---------- */
.display, h1, h2, .h2 {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
  margin: 0;
}
h1, .h1 { font-size: clamp(3.1rem, 13vw, 10.5rem); }
h2, .h2 { font-size: clamp(2.5rem, 8.4vw, 6.8rem); }
h3 { font-family: var(--font-display); font-stretch: 80%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.45rem, 3.2vw, 2.1rem); line-height: 1; margin: 0; letter-spacing: .005em; }
h4 { font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: 1.35rem; line-height: 1.1; margin: 0; text-transform: uppercase; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-on-dark); margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec--light .eyebrow { color: var(--accent-on-light); }
.lead { font-size: clamp(1.1rem, 2.1vw, 1.4rem); line-height: 1.5; color: rgba(255,255,255,.82); max-width: 40ch; }
.sec--light .lead { color: var(--muted-dark); }
.muted { color: var(--muted); }
.sec--light .muted { color: var(--muted-dark); }
.sec-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 8vw, 96px); }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 64px; }
  .sec-head--split .lead { justify-self: end; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, opacity .25s;
  white-space: nowrap;
}
.btn--solid { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--outline { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn--outline:hover { border-color: var(--white); background: var(--white); color: var(--black); }
.sec--light .btn--outline { border-color: rgba(10,10,10,.4); color: var(--black); }
.sec--light .btn--outline:hover { background: var(--black); color: var(--bone); border-color: var(--black); }
.btn--white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--white:hover { background: transparent; color: var(--white); }
.btn--lg { min-height: 64px; padding: 0 40px; font-size: 14px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 11.5px; }
.btn svg { width: 16px; height: 16px; flex: none; }
/* Estado "Inscripciones próximamente": atenuado y no clickeable */
.btn.is-disabled, .btn[aria-disabled="true"] {
  opacity: .42; cursor: not-allowed; pointer-events: none;
  background: transparent; color: inherit; border: 1px dashed currentColor;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.insc { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.insc__aviso {
  font-size: 13px; font-weight: 500; color: var(--accent-on-dark); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px; display: inline-flex; gap: 6px; align-items: center;
}
.sec--light .insc__aviso { color: var(--accent-on-light); }
.insc__aviso:hover { color: var(--white); }
.sec--light .insc__aviso:hover { color: var(--black); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}
.link-arrow span { transition: transform .25s; }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .site-header.is-static { background: rgba(10,10,10,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex: none; }
.logo__mark {
  font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 34px; line-height: 1;
  letter-spacing: .02em; padding: 4px 8px 2px; border: 2px solid currentColor;
}
.logo__text { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.35; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav a { text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.78); position: relative; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent-on-dark); }
.header-cta { display: none; gap: 10px; align-items: center; }
.burger {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); cursor: pointer; padding: 0;
}
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 1.5px; background: var(--white); position: relative; transition: transform .3s, background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1180px) {
  .nav, .header-cta { display: flex; }
  .burger { display: none; }
}

/* Menú móvil a pantalla completa */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--black);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--black); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0; text-decoration: none;
  font-family: var(--font-display); font-stretch: 72%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1;
}
.mobile-menu li a[aria-current="page"] { color: var(--accent-on-dark); }
.mobile-menu__cta { display: grid; gap: 12px; }
.mobile-menu__cta .btn, .mobile-menu__cta .insc { width: 100%; }
.mobile-menu__cta .insc .btn { width: 100%; }
@media (min-width: 1180px) { .mobile-menu { display: none; } }

/* ---------- Imagen con overlay (espacios de foto) ---------- */
.photo { position: absolute; inset: 0; overflow: hidden; background:
  radial-gradient(120% 80% at 70% 20%, #1d1f19 0%, #0d0d0d 55%, #080808 100%); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.85); }
.photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.92) 100%); }
/* textura sutil para cuando aún no hay foto */
.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: .06; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 48px) 0 clamp(48px, 8vw, 96px); }
.hero > .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 11ch; }
.hero .lead { margin: 32px 0 40px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(48px, 8vw, 96px); z-index: 2; display: none; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
@media (min-width: 900px) { .hero__scroll { display: block; } }
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(72px, 12vw, 160px)) 0 clamp(56px, 8vw, 104px); }
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero--photo { min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; }
.page-hero .lead { margin-top: 28px; }

/* ---------- Cifras ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stat { padding: 36px 0 8px; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 20px; }
.stat__num { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: clamp(5rem, 17vw, 12rem); line-height: .85; display: block; letter-spacing: -.01em; }
.stat__label { display: block; margin: 14px 0 24px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 40px 28px 8px; border-right: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
}

/* ---------- Tarjetas de diplomado (home) ---------- */
.dip-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .dip-cards { grid-template-columns: repeat(3, 1fr); } }
.dip-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 460px; padding: clamp(28px, 3vw, 40px); background: var(--black); color: var(--white);
  text-decoration: none; overflow: hidden; transition: background .35s;
}
.dip-card:hover { background: #151613; }
.dip-card__num { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: clamp(7rem, 20vw, 11rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5); transition: -webkit-text-stroke-color .35s; }
.dip-card:hover .dip-card__num { -webkit-text-stroke-color: var(--accent-on-dark); }
.dip-card h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 14px; }
.dip-card p { color: rgba(255,255,255,.72); font-size: 16px; margin-bottom: 28px; }
.dip-card .link-arrow { color: var(--accent-on-dark); }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.sec--light .steps { border-color: var(--line-dark); }
.step { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 76px 1fr; gap: 12px 20px; align-items: start; }
.sec--light .step { border-color: var(--line-dark); }
.step__n { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 3.4rem; line-height: .85; color: var(--accent-on-dark); }
.sec--light .step__n { color: var(--accent-on-light); }
.step h3 { margin-bottom: 10px; }
.step p { margin: 0 0 14px; color: var(--muted); font-size: 15.5px; }
.sec--light .step p { color: var(--muted-dark); }
.step .link-arrow { font-size: 12px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .step { grid-template-columns: 1fr; padding: 0 28px 0 0; border-bottom: 0; border-top: 1px solid var(--line); padding-top: 32px; margin-right: 20px; }
  .sec--light .step { border-color: var(--black); }
  .step__n { font-size: 5.4rem; margin-bottom: 28px; }
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Cita ---------- */
.quote { max-width: 1100px; }
.quote__mark { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 14vw, 10rem); line-height: .6; color: var(--accent-on-dark); display: block; height: .45em; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--font-display); font-stretch: 85%; font-weight: 500; font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.01em; margin: 0; }
.quote figcaption { margin-top: 40px; display: flex; align-items: center; gap: 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.quote figcaption::before { content: ""; width: 48px; height: 1px; background: var(--accent-on-dark); }
.quote figcaption strong { font-weight: 600; } .quote figcaption span { color: var(--muted); }

/* ---------- Texto grande (misión) ---------- */
.bigtext { font-family: var(--font-display); font-stretch: 85%; font-weight: 600; font-size: clamp(1.7rem, 4.4vw, 3.6rem); line-height: 1.1; letter-spacing: -.01em; max-width: 26ch; margin: 0; }
.bigtext em { font-style: normal; color: var(--accent-on-light); }
.sec:not(.sec--light) .bigtext em { color: var(--accent-on-dark); }

/* ---------- FAQ (acordeón) ---------- */
.faq { border-top: 1px solid var(--line); max-width: 1000px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.8rem); line-height: 1.15; text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 22px; height: 22px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%); transition: transform .3s; }
.plus::after { transform: translate(-50%,-50%) rotate(90deg); }
details[open] > summary .plus::after { transform: translate(-50%,-50%) rotate(0); }
.faq .faq__body { padding: 0 0 32px; color: rgba(255,255,255,.75); max-width: 70ch; }
.faq .faq__body p:last-child { margin: 0; }

/* ---------- CTA a pantalla completa ---------- */
.cta-full { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; padding: var(--section) 0; text-align: left; }
.cta-full > .wrap { position: relative; z-index: 2; }
.cta-full h2 { font-size: clamp(2.8rem, 10vw, 8.5rem); max-width: 14ch; margin-bottom: 48px; }
.cta-plain { background: var(--black); }

/* ---------- Diplomados: barra sticky ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(10,10,10,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.subnav li + li { border-left: 1px solid var(--line); }
.subnav a { display: flex; align-items: center; gap: 10px; justify-content: center; padding: 16px 10px; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .25s, background .25s; text-align: center; line-height: 1.25; height: 100%; }
.subnav a b { font-family: var(--font-display); font-stretch: 62%; font-size: 22px; font-weight: 800; color: inherit; }
.subnav a .t-long { display: none; }
.subnav a.is-active { color: var(--white); background: rgba(107,122,79,.18); box-shadow: inset 0 -2px 0 var(--accent-on-dark); }
.subnav a:hover { color: var(--white); }
@media (min-width: 760px) { .subnav a .t-long { display: inline; } .subnav a .t-short { display: none; } .subnav a { font-size: 12.5px; padding: 20px 14px; } }

/* ---------- Cómo funciona ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--black); }
.how-item { padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line-dark); }
.how-item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.how-item__num { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: clamp(4rem, 12vw, 7.5rem); line-height: .85; display: block; }
.how-item__label { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: repeat(4, 1fr); }
  .how-item, .how-item:nth-child(even) { padding: 36px 24px 36px 24px; border-left: 1px solid var(--line-dark); }
  .how-item:nth-child(4n+1) { border-left: 0; padding-left: 0; }
}
.how-list { display: grid; gap: 0; margin-top: clamp(48px, 7vw, 80px); }
.how-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.how-row dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-light); }
.how-row dd { margin: 0; font-size: 17px; }
@media (min-width: 900px) { .how-row { grid-template-columns: 280px 1fr; gap: 32px; padding: 26px 0; } }
.how-list .how-row:first-child { border-top: 1px solid var(--line-dark); }

/* ---------- Diplomado: sección ---------- */
.dip { scroll-margin-top: calc(var(--header-h) + 64px); }
.dip__head { display: grid; gap: 28px; margin-bottom: clamp(56px, 8vw, 96px); }
.dip__roman { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: clamp(9rem, 34vw, 22rem); line-height: .78; color: transparent; -webkit-text-stroke: 1.5px var(--accent-on-dark); display: block; letter-spacing: -.02em; }
.dip__label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
.dip__head h2 { font-size: clamp(2.6rem, 8vw, 6.2rem); }
.dip__desc { font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,.82); max-width: 44ch; margin: 22px 0 0; }
.dip__meta { display: grid; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.dip__meta dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.dip__meta dd { margin: 0; font-size: 16.5px; }
@media (min-width: 1000px) {
  .dip__head { grid-template-columns: auto 1fr; gap: 24px 64px; align-items: end; }
  .dip__meta { grid-column: 1 / -1; grid-template-columns: 1fr 1.2fr auto; gap: 48px; align-items: start; }
}
/* barra de evaluación */
.evalbar { display: flex; height: 8px; margin: 4px 0 12px; background: var(--black-3); }
.evalbar span { display: block; height: 100%; }
.evalbar span:nth-child(1) { background: rgba(255,255,255,.35); }
.evalbar span:nth-child(2) { background: rgba(255,255,255,.6); }
.evalbar span:nth-child(3) { background: var(--accent-on-dark); }
.evallegend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: rgba(255,255,255,.8); }
.evallegend i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: 1px; }

/* bloques */
.block { display: grid; gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.block__head h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.block__head span { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); }
.courses { display: grid; gap: 12px; }
@media (min-width: 900px) {
  .block { grid-template-columns: 280px 1fr; gap: 48px; padding: 56px 0; }
  .block__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .courses { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* tarjeta de curso (acordeón en móvil, abierta en escritorio) */
.course { background: var(--black-2); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.course:hover { border-color: rgba(255,255,255,.3); background: #151515; }
.course summary { list-style: none; cursor: pointer; padding: 24px 24px 22px; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: start; }
.course summary::-webkit-details-marker { display: none; }
.course__time { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); }
.course h4 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1.02; }
.course__teacher { grid-column: 1 / -1; font-size: 14.5px; color: var(--muted); }
.course__teacher strong { color: rgba(255,255,255,.9); font-weight: 500; }
.course__body { padding: 0 24px 26px; }
.course__hook { font-size: 16.5px; color: rgba(255,255,255,.86); margin: 0 0 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.chips { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; line-height: 1.3; padding: 7px 12px; border: 1px solid var(--line); color: rgba(255,255,255,.8); }
.course .insc { margin-top: 4px; }
@media (min-width: 900px) {
  .course summary { cursor: default; pointer-events: none; }
  .course summary .plus { display: none; }
  .course { display: flex; flex-direction: column; }
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; gap: 16px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.timeline li:last-child .timeline__year { -webkit-text-stroke-color: var(--accent-on-dark); }
.timeline p { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 52ch; margin: 0; color: rgba(255,255,255,.85); }
@media (min-width: 900px) { .timeline li { grid-template-columns: 360px 1fr; align-items: center; gap: 48px; } }

/* ---------- Verbos (Te equipamos) ---------- */
.verbs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--black); }
.verbs li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line-dark); padding: 10px 0 6px; font-family: var(--font-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 10vw, 7rem); line-height: .95; }
.verbs li small { font-family: var(--font-body); font-stretch: 100%; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent-on-light); }
.split { display: grid; gap: 48px; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; } .split > .sticky { position: sticky; top: calc(var(--header-h) + 48px); } }

/* ---------- Equipo docente ---------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.team li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 16px 20px; display: flex; flex-direction: column; gap: 18px; min-height: 160px; justify-content: space-between; transition: background .3s; }
.team li:hover { background: var(--black-2); }
.team__photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--black-3); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-stretch: 72%; font-weight: 700; font-size: 18px; color: var(--muted); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.team__name { font-family: var(--font-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.02; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(5, 1fr); } .team li { padding: 28px 24px 24px; min-height: 200px; } }

/* ---------- Pagos / Portal ---------- */
.action-box { border: 1px solid var(--line); padding: clamp(28px, 5vw, 64px); display: grid; gap: 24px; background: var(--black-2); }
.action-box .btn { width: 100%; }
@media (min-width: 700px) { .action-box .btn { width: auto; } }
.note { font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent-on-dark); }
.help { display: grid; gap: 40px; }
@media (min-width: 900px) { .help { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.contact-list li { border-bottom: 1px solid var(--line-dark); }
.contact-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; text-decoration: none; }
.contact-list small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 4px; }
.contact-list b { font-family: var(--font-display); font-stretch: 80%; font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.9rem); text-transform: none; letter-spacing: 0; }
.contact-list span.arrow { font-size: 22px; transition: transform .25s; }
.contact-list a:hover span.arrow { transform: translateX(6px); }
.olist { list-style: none; margin: 0; padding: 0; counter-reset: o; }
.olist li { counter-increment: o; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.olist li::before { content: counter(o, decimal-leading-zero); font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 26px; line-height: 1; color: var(--accent-on-light); }
.feature-cards { display: grid; gap: 12px; }
@media (min-width: 900px) { .feature-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.feature { background: var(--black-2); border: 1px solid var(--line); padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 56px; min-height: 280px; justify-content: space-between; }
.feature svg { width: 32px; height: 32px; color: var(--accent-on-dark); }
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { overflow: hidden; background: #050505; border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 112px) 0 32px; }
.footer-grid { display: grid; gap: 48px; }
.footer-brand p { color: var(--muted); max-width: 32ch; margin: 24px 0 0; font-size: 15px; }
.footer-col h2 { font-family: var(--font-body); font-stretch: 100%; font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--muted); margin-bottom: 18px; line-height: 1.4; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.85); }
.footer-col a:hover { color: var(--accent-on-dark); }
.footer-col address { font-style: normal; display: grid; gap: 10px; color: rgba(255,255,255,.85); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); transition: background .25s, border-color .25s; }
.social a:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: clamp(56px, 8vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.footer-giant { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(4rem, 19vw, 17rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16); margin-top: clamp(48px, 7vw, 88px); white-space: nowrap; letter-spacing: -.01em; user-select: none; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* WhatsApp flotante (solo móvil) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #1F7A4D; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .25s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 900px) { .wa-float { display: none; } }
.menu-open .wa-float { display: none; }

/* ---------- Animaciones al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
.hero h1 .line { display: block; overflow: hidden; }
.js .hero h1 .line > span { display: block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .is-loaded .hero h1 .line > span { transform: none; }
.js .is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: .1s; }
.js .is-loaded .hero h1 .line:nth-child(3) > span { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero h1 .line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Ajustes finos ---------- */
ol.steps, ol.timeline, ol.olist, ul.verbs { padding-left: 0; margin: 0; }
figure.quote { margin: 0; }
.hero h1 { max-width: none; font-stretch: 62%; font-size: clamp(3.2rem, 14.5vw, 11.5rem); }
.dip-card__num { color: rgba(255,255,255,.9); -webkit-text-stroke: 0; transition: color .35s; }
.dip-card:hover .dip-card__num { color: var(--accent-on-dark); }
.dip__roman { color: var(--accent-on-dark); -webkit-text-stroke: 0; }
@media (max-width: 999px) { .dip__roman { font-size: clamp(7rem, 30vw, 12rem); } }
.timeline__year { color: rgba(255,255,255,.92); -webkit-text-stroke: 0; }
.timeline li:last-child .timeline__year { color: var(--accent-on-dark); }
@media (min-width: 900px) {
  .block__head { justify-content: flex-start; align-self: start; position: sticky; top: calc(var(--header-h) + 90px); }
  .course__body { display: flex; flex-direction: column; flex: 1; }
  .course .insc { margin-top: auto; }
}
@media (max-width: 759px) { .subnav a { gap: 6px; padding: 14px 4px; font-size: 11px; letter-spacing: .06em; } }
.footer-giant { font-size: clamp(3.4rem, 15.5vw, 15rem); }

/* ==========================================================================
   v2 — Logos, fotos y profundidad
   ========================================================================== */

/* Logos oficiales */
.logo img { display: block; height: 38px; width: auto; }
@media (min-width: 1180px) { .logo img { height: 44px; } }
.footer-brand .logo img { height: auto; width: 150px; }

/* Grano fotográfico muy sutil en todo el sitio (da textura, quita lo "plano") */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Fotos: B/N, viñeta y leve movimiento */
.photo img { position: absolute; inset: -6% 0 auto 0; height: 112%; will-change: transform; }
.photo::after { background:
  radial-gradient(120% 90% at 50% 40%, rgba(10,10,10,0) 0%, rgba(10,10,10,.55) 100%),
  linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,.25) 35%, rgba(10,10,10,.5) 65%, rgba(10,10,10,.97) 100%); }
.photo--hero img { animation: kb 2.8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes kb { from { transform: scale(1.12); filter: grayscale(1) brightness(.5); } to { transform: scale(1); } }
.photo--hero::before { display: none; }

/* Cinta de cursos */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--black); }
.marquee__track { display: flex; width: max-content; animation: mq 70s linear infinite; }
.marquee span { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); padding: 0 .55em; }
.marquee span:nth-of-type(3n+1) { color: var(--white); -webkit-text-stroke: 0; }
.marquee i { font-style: normal; color: var(--accent-on-dark); font-size: 12px; align-self: center; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Tarjetas: un poco de relieve al pasar */
.dip-card { transition: background .35s, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.dip-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

/* Generaciones */
.gen__grid { display: grid; gap: 56px; align-items: center; }
.gen__text .lead { margin: 28px 0 36px; }
.gen__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 40px; border-top: 1px solid var(--black); }
.gen__facts div { padding: 20px 16px 0 0; }
.gen__facts div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.gen__facts dt { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: clamp(4rem, 10vw, 6.5rem); line-height: .85; color: var(--accent-on-light); }
.gen__facts dd { margin: 10px 0 0; font-size: 14px; color: var(--muted-dark); line-height: 1.45; }
.gen__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gen__ph { margin: 0; position: relative; overflow: hidden; background: var(--black); }
.gen__ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); transition: filter .8s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.gen__ph:hover img { filter: grayscale(.15); transform: scale(1.04); }
.gen__ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white); background: linear-gradient(180deg, transparent, rgba(10,10,10,.85)); }
.gen__ph--b { margin-top: 64px; }
@media (min-width: 1000px) {
  .gen__grid { grid-template-columns: 1fr 1.1fr; gap: 96px; }
  .gen__ph--b { margin-top: 140px; }
  .gen__photos { gap: 20px; }
}

/* Misión con el círculo del logo */
.mision { overflow: hidden; }
.mision > .wrap { position: relative; z-index: 1; }
.mision__circle { position: absolute; color: var(--black); width: min(78vw, 360px); right: -18vw; top: -40px; opacity: .07; }
.mision__circle svg { width: 100%; height: auto; display: block; }
@media (min-width: 1000px) {
  .mision__circle { width: 620px; right: -140px; top: 50%; transform: translateY(-50%); opacity: 1; }
  .mision .bigtext { max-width: 22ch; }
}
@media (min-width: 1000px) and (max-width: 1300px) { .mision__circle { width: 460px; right: -160px; } }

/* CTA con círculo gigante */
.cta-circle { overflow: hidden; }
.cta-circle__deco { position: absolute; right: -30vw; bottom: -20vw; width: 90vw; max-width: 980px; color: #161616; pointer-events: none; }
.cta-circle__deco svg { width: 100%; height: auto; display: block; }
@media (min-width: 900px) { .cta-circle__deco { right: -12vw; bottom: auto; top: 50%; transform: translateY(-50%); width: 62vw; } }

/* Banda de graduación (diplomados) */
.grad-band { position: relative; min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; padding: var(--section) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.grad-band > .wrap { position: relative; z-index: 2; }
.grad-band h2 { font-size: clamp(3rem, 11vw, 9rem); }
.grad-band .lead { margin-top: 28px; }

/* Timeline con foto */
.timeline__ph > div { display: grid; gap: 24px; }
.timeline__ph figure { margin: 0; overflow: hidden; max-width: 420px; }
.timeline__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; filter: grayscale(1); }
@media (min-width: 900px) { .timeline__ph > div { grid-template-columns: 1fr 280px; align-items: center; gap: 48px; } }

/* Declaraciones */
.decl__grid { display: grid; gap: 56px; align-items: center; }
.decl__doc { display: block; position: relative; width: min(78%, 360px); margin: 0 auto; transform: rotate(-3deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); box-shadow: 0 2px 0 rgba(0,0,0,.05), 0 40px 70px -24px rgba(10,10,10,.45), 0 12px 24px -12px rgba(10,10,10,.3); }
.decl__doc::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; background: var(--bone-2); z-index: -1; box-shadow: 0 20px 40px -20px rgba(10,10,10,.3); }
.decl__doc img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.decl__doc:hover { transform: rotate(0) translateY(-6px); }
.decl__doc:hover img { filter: none; }
.decl__text .lead { margin: 24px 0 28px; max-width: 46ch; }
.values { list-style: none; padding: 0; margin: 0 0 40px; counter-reset: v; border-top: 1px solid var(--black); }
.values li { counter-increment: v; display: grid; grid-template-columns: 48px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-stretch: 80%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.1; }
.values li::before { content: counter(v, decimal-leading-zero); font-family: var(--font-body); font-stretch: 100%; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--accent-on-light); }
.decl__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.decl__cta .muted { font-size: 13px; }
@media (min-width: 1000px) { .decl__grid { grid-template-columns: .85fr 1.15fr; gap: 112px; } .decl__doc { width: 100%; max-width: 400px; } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .photo--hero img { animation: none !important; }
}
.gen__photos { align-items: start; }
@media (min-width: 1180px) { .logo img { height: 50px; } }
.decl h2 { font-size: clamp(2.5rem, 5.2vw, 4.8rem); }
@media (max-width: 899px) {
  .photo--hero::after { background: linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,.45) 25%, rgba(10,10,10,.82) 50%, rgba(10,10,10,.96) 75%, #0A0A0A 100%); }
}

/* ---------- Equipo docente (v3: nombre + cursos, sin iniciales) ---------- */
.doc-filter { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 28px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
.doc-filter::-webkit-scrollbar { display: none; }
.doc-filter button { flex: none; min-height: 44px; padding: 0 18px; background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.doc-filter button b { font-family: var(--font-display); font-stretch: 62%; font-size: 18px; font-weight: 800; margin-right: 6px; vertical-align: -1px; }
.doc-filter button:hover { color: var(--white); border-color: rgba(255,255,255,.4); }
.doc-filter button.is-active { background: var(--white); color: var(--black); border-color: var(--white); }
.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.doc { position: relative; padding: 26px 0 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: start; overflow: hidden; }
.doc[hidden] { display: none; }
.doc__name { grid-column: 1; grid-row: 1; font-family: var(--font-display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 7.5vw, 2.6rem); line-height: .92; letter-spacing: -.005em; transition: color .3s; }
.doc__tags { grid-column: 2; grid-row: 1; display: flex; gap: 6px; padding-top: 4px; }
.doc__tags span { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 15px; line-height: 1; min-width: 30px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent-on-dark); color: var(--accent-on-dark); border-radius: 999px; }
.doc__courses { grid-column: 1 / -1; list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.doc__courses li { font-size: 15px; color: var(--muted); line-height: 1.4; padding-left: 18px; position: relative; }
.doc__courses li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--accent-on-dark); }
.doc__photo { grid-column: 1 / -1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); margin-bottom: 16px; order: -1; }
.doc:hover .doc__name { color: var(--accent-on-dark); }
@media (min-width: 700px) {
  .docs { grid-template-columns: 1fr 1fr; border-left: 1px solid var(--line); }
  .doc { padding: 28px 28px 30px; border-right: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .docs { grid-template-columns: repeat(4, 1fr); }
  .doc { min-height: 230px; grid-template-rows: auto 1fr; padding: 30px 26px 30px; transition: background .3s; }
  .doc:hover { background: var(--black-2); }
  .doc__name { font-size: 2.15rem; }
  .doc__courses { align-self: end; margin-top: 28px; }
}
