/* =========================================================
   UNIS Virtual · Micrositio de maestrías en línea
   CSS propio, sin Bootstrap. Móvil primero.
   Puntos de corte: 768 px (tableta) y 1100 px (escritorio).
   ========================================================= */

:root {
  --vino: #7B001E;
  --vino-900: #5C0016;
  --oro: #CC9865;
  --oro-claro: #DBBB5D;
  --gris: #E7E7E7;
  --texto: #333;
  --verde-wa: #0DC143;
  --error: #FFD6D6;
  --header-h: 72px;
  --radius: 16px;
  --sombra: 0 6px 18px rgba(0, 0, 0, .25);
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
  margin: 0; font-family: var(--font); font-size: 15px; font-weight: 500; line-height: 1.5;
  color: var(--texto); background: #fff; -webkit-text-size-adjust: 100%;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Utilidades ---------- */
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.gold { color: var(--oro); }
.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-link { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--vino); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Botones circulares con ícono (buscador, cerrar, flotantes) */
.search button, .menu-close, .form-modal-close, .wa-close, .float-btn {
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
}

/* ---------- Tipografía de sección ---------- */
.title, .title-xl { font-weight: 700; color: var(--vino); text-align: center; text-wrap: balance; }
.title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; }
.title-xl { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.15; }
.intro { margin-top: 16px; }
.intro--narrow { max-width: 780px; margin-inline: auto; text-align: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 18px; border: 0; border-radius: 6px;
  font-size: 14px; font-weight: 700; text-decoration: none; transition: color .2s;
}
.btn-gold { background: var(--oro); color: #fff; }
.btn-gold:hover { color: var(--vino); }
.btn-lg { min-height: 48px; padding: 10px 26px; font-size: 16px; color: var(--vino); }
.btn-lg:hover { color: #fff; }

/* ===================== ENCABEZADO ===================== */
.site-header { position: sticky; top: 0; z-index: 900; background: var(--vino); color: #fff; }
.header-bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { order: -1; }
.brand img { width: 130px; }
.menu-toggle { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 12px; padding: 8px 0; border: 0; background: none; color: #fff; font-size: 17px; }
.burger { display: grid; gap: 6px; width: 34px; }
.burger span { height: 3px; border-radius: 3px; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.header-actions { display: none; }

/* Buscador */
.search { position: relative; width: 100%; }
.search input {
  width: 100%; height: 36px; padding: 0 44px 0 16px; border: 0; border-radius: 30px; appearance: none;
  background: #f2f2f2; color: #555; font-size: 14px; text-align: center;
}
.search input::-webkit-search-cancel-button { display: none; }
.search button { position: absolute; top: 2px; right: 2px; width: 32px; height: 32px; background: var(--oro); color: #fff; font-size: 15px; }
.search-suggestions {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; list-style: none; overflow: hidden;
  background: #fff; border: 1px solid #ddd; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); text-align: left;
}
.search-suggestions a, .search-suggestions .empty { display: block; padding: 10px 14px; font-size: 14px; }
.search-suggestions a { color: #222; text-decoration: none; }
.search-suggestions a:hover, .search-suggestions a:focus { background: #f3e9e3; color: var(--vino); }
.search-suggestions .empty { color: #666; }
.search--mobile { max-width: 420px; margin: 24px auto 0; }

/* ---------- Menú (móvil: panel lateral a pantalla completa) ---------- */
.site-menu { position: fixed; inset: 0; z-index: 950; background: rgba(0, 0, 0, .5); }
.site-menu[hidden] { display: none; }
.menu-panel {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; overscroll-behavior: contain;
  padding: 16px 20px 32px; background: #fff; color: #222; animation: menu-in .3s ease;
}
.menu-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #eee; }
.menu-head img { width: 140px; }
.menu-close { width: 44px; height: 44px; background: #f5f0ec; color: var(--vino); font-size: 22px; }
.menu-main { display: grid; gap: 12px; }
.menu-group { border: 1px solid #eadfd6; border-radius: var(--radius); overflow: hidden; }
.menu-group-title {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px;
  border: 0; background: #fff; color: var(--vino); font-size: 16px; font-weight: 700; text-align: left;
}
.menu-group-title svg { font-size: 14px; transition: transform .25s; }
.menu-group-title[aria-expanded="true"] { background: var(--vino); color: #fff; }
.menu-group-title[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-group ul { display: none; gap: 2px; padding: 6px; list-style: none; }
.menu-group-title[aria-expanded="true"] + ul { display: grid; }
.menu-group ul a {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; border-radius: 10px;
  color: #2d2d2d; text-decoration: none; transition: background-color .2s, color .2s;
}
.menu-group ul a:hover, .menu-group ul a:focus-visible { background: #faf4ef; color: var(--vino); }
.menu-resources a { justify-content: space-between; font-size: 15px; font-weight: 600; }
.mp-text { flex: 1; display: grid; line-height: 1.25; }
.mp-kicker { font-size: 12px; color: #8A8585; }
.mp-name { font-size: 15px; font-weight: 700; }
.badge-new { flex: none; padding: 3px 9px; border-radius: 30px; background: var(--oro); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mp-arrow { font-size: 13px; color: var(--oro); transform: rotate(-90deg); transition: transform .2s; }
.menu-group ul a:hover .mp-arrow { transform: rotate(-90deg) translateY(3px); }
.menu-aside { padding: 20px; border-radius: var(--radius); background: linear-gradient(150deg, var(--vino), var(--vino-900)); color: #fff; }
.menu-aside-title { margin-bottom: 8px; font-size: 19px; font-weight: 700; }
.menu-aside p { font-size: 14px; line-height: 1.55; opacity: .92; }
.menu-contact { display: grid; gap: 8px; margin-top: 16px; list-style: none; }
.mc {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .1); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s;
}
.mc:hover, .mc:focus-visible { background: rgba(255, 255, 255, .2); }
.mc svg { font-size: 20px; color: var(--oro-claro); }
.mc--wa svg { color: #25D366; }

/* Barra «Comunícate con un experto» (móvil y tableta) */
.cta-bar {
  position: sticky; top: var(--header-h); z-index: 800; display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 8px 16px; background: var(--oro); color: #fff; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none;
}
.cta-bar svg { font-size: 30px; }
.cta-bar:hover { color: var(--vino); }

/* ===================== HERO ===================== */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 420px; padding: 56px 0; overflow: hidden; background: #2a2a2a; color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hero-text { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero-text h1 { margin-bottom: 14px; font-size: 22px; font-weight: 500; }
.hero-text p { max-width: 720px; font-size: 28px; font-weight: 700; line-height: 1.3; }
.hero-scroll { display: none; }

/* ===================== SÉ PARTE ===================== */
.se-parte { padding: 48px 0 40px; background: var(--gris) url(../img/maestrias-online-fondo-puntos-800w.webp) top center / 100% auto no-repeat; }
.se-parte .intro { margin-bottom: 28px; color: #000; }

/* ---------- Slider: carrusel (una tarjeta a la vez) en móvil, cuadrícula desde tableta ---------- */
.slider-track {
  display: flex; gap: 14px; padding: 4px 0 10px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > li { flex: 0 0 100%; display: flex; justify-content: center; scroll-snap-align: center; scroll-snap-stop: always; }
/* las imágenes ya traen esquinas redondeadas y sombra propias */
.slider-track img { width: 100%; }
.slider-track--3 > li > img { width: min(100%, 250px); aspect-ratio: 1; object-fit: cover; }
.slider-track--programas > li > a { width: min(100%, 300px); }
.slider-track a { display: block; border-radius: 18px; transition: transform .25s, box-shadow .25s; }
.slider-dots { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.slider-dots button { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: #D9D9D9; transition: background-color .2s, width .2s; }
.slider-dots button[aria-current="true"] { width: 26px; background: var(--vino); }
.slider-dots button::after { content: ''; position: absolute; inset: -12px; } /* área táctil de 34 px */

/* ===================== OFERTA ===================== */
.oferta { padding: 48px 0 56px; }
.slider--programas { margin-top: 28px; }

/* ===================== FORMULARIO ===================== */
.form-section { padding: 48px 0 56px; background: var(--gris); }
.form-layout { display: grid; gap: 28px; }
.form-copy h2 { font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--vino); text-align: center; }
.form-copy h2 span { display: block; }
.form-copy img { display: none; }
.form-card { padding: 32px 22px 36px; border-radius: 30px; background: var(--vino); color: #fff; }
.form-card h3 { font-size: 24px; font-weight: 700; text-align: center; }
.form-lead { max-width: 420px; margin: 10px auto 18px; font-size: 13px; text-align: center; }
.form-card label { display: block; margin: 12px 0 6px; font-size: 14px; font-weight: 700; }
.form-card input:not([type="checkbox"]), .form-card select {
  width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: #333; font-size: 15px;
}
.form-card [aria-invalid="true"] { border: 2px solid #FFB3B3; box-shadow: 0 0 0 2px rgba(255, 179, 179, .35); }
.phone-field { display: flex; flex-wrap: wrap; }
.form-card .phone-field input { flex: 1; border-radius: 0 6px 6px 0; }
.phone-prefix {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; white-space: nowrap;
  border: 1px solid #ccc; border-right: 0; border-radius: 6px 0 0 6px; background: #eee; color: #333; font-size: 14px;
}
/* Mensajes de error que inyecta inConcert (label.error) y aviso propio */
.form-card label.error { flex-basis: 100%; margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--error); }
.form-error { min-height: 1em; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--error); }
.form-card .check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; font-size: 13px; font-weight: 600; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--oro); }
.check a { color: var(--oro); }
.btn-submit { min-width: 120px; min-height: 44px; margin-top: 22px; font-size: 15px; }

/* ===================== CARRERA EN EL MUNDO ===================== */
.carrera { padding: 48px 0 56px; }
.carrera .title { margin-bottom: 32px; }
.benef, .benef-main { display: flex; flex-direction: column; }
.benef { overflow: hidden; border: 2px solid var(--vino); border-radius: 25px; }
.benef-tab { display: flex; align-items: center; justify-content: center; height: 110px; background: var(--oro-claro); }
.benef img { width: 80px; height: 80px; flex: none; }
.benef-main-txt { margin: 0 25px; padding: 20px 0; border-bottom: 2px solid var(--vino); text-align: center; }
.benef-main-txt h3 { margin-bottom: 12px; font-size: 20px; font-weight: 700; color: var(--vino); }
.benef p { color: #222; }
.benef-main-txt p { font-size: 15px; }
.benef-item { display: flex; align-items: center; gap: 15px; padding: 20px 25px; font-size: 14px; }
.benef-item + .benef-item { border-top: 1px solid #e5e5e5; }

/* ===================== BANNER CTA ===================== */
.banner-cta { padding: 64px 0; background: var(--vino) url(../img/maestrias-en-linea-100-virtual-960w.webp) center / cover no-repeat; color: #fff; text-align: center; }
.banner-cta h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; line-height: 1.3; text-wrap: balance; }
.banner-cta p { margin: 12px 0 26px; font-size: clamp(16px, 2.4vw, 30px); }

/* ===================== ACREDITACIONES ===================== */
.acreditaciones { padding: 56px 0; }
.acreditaciones .title { max-width: 720px; margin-inline: auto; }
.acreditacion { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 32px; }
.acreditacion img { width: min(300px, 80%); }
.acreditacion h3 { margin-bottom: 6px; font-size: 25px; font-weight: 700; color: var(--oro); }
.acreditacion p { max-width: 480px; font-size: 15px; }

/* ===================== PREGUNTAS FRECUENTES ===================== */
.faq { padding: 48px 0 64px; background: #f4f4f4 url(../img/maestrias-en-guatemala-equipo-trabajo.webp) center / cover no-repeat; }
.faq .title { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; }
.faq .title img { width: 36px; height: 36px; }
.faq-list { display: grid; gap: 10px; max-width: 650px; }
.faq-item summary {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px 16px; list-style: none; cursor: pointer;
  border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { flex: 1; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--vino); }
/* Ícono +/− dibujado con CSS; toma el color del texto */
.faq-icon { order: -1; position: relative; flex: none; width: 28px; height: 28px; border: 2px solid; border-radius: 50%; color: var(--vino); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.faq-item[open] summary { background: var(--vino); }
.faq-item[open] h3, .faq-item[open] .faq-icon { color: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%); }
.faq-body { margin-top: -6px; padding: 20px 18px 14px; border: 2px solid var(--vino); border-top: 0; border-radius: 0 0 12px 12px; background: rgba(255, 255, 255, .95); color: #444; font-size: 14px; }
.faq-body p + p, .faq-body ol + p { margin-top: 10px; }
.faq-body ol { margin-top: 4px; padding-left: 22px; }
.faq-sub { font-weight: 700; color: var(--vino); }

/* ===================== PIE ===================== */
.site-footer { background: #000; color: #fff; }
.footer-grid { display: grid; gap: 28px; padding: 48px 0 36px; }
.footer-brand img { width: 190px; }
.footer-title { margin-bottom: 16px; font-size: 18px; font-weight: 700; }
.site-footer ul { display: grid; gap: 10px; list-style: none; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: #fff; font-size: 15px; text-decoration: none; word-break: break-word; }
.site-footer ul a:hover { color: var(--oro); }
.site-footer .italic { font-style: italic; }
.footer-contact svg { font-size: 20px; }
.site-footer .footer-social { grid-auto-flow: column; justify-content: start; gap: 18px; }
.site-footer .footer-social a { justify-content: center; min-width: 44px; min-height: 44px; font-size: 22px; }
.legal { padding: 10px 16px; background: var(--vino); color: #fff; font-size: 14px; text-align: center; }

/* ===================== POP-UP DEL FORMULARIO ===================== */
.form-modal { width: min(560px, 100% - 24px); padding: 0; border: 0; background: transparent; overflow: visible; }
.form-modal::backdrop { background: rgba(20, 0, 6, .72); backdrop-filter: blur(2px); }
.form-modal[open] { animation: modal-in .25s ease; }
.form-modal-inner { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; border-radius: 30px; }
.form-modal .form-card { max-width: none; margin: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.form-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 20px; transition: background-color .2s;
}
.form-modal-close:hover, .form-modal-close:focus-visible { background: rgba(255, 255, 255, .28); }

/* ===================== FLOTANTES ===================== */
.floating { position: fixed; right: 16px; bottom: 16px; z-index: 850; display: grid; justify-items: end; gap: 12px; }
.float-btn { width: 60px; height: 60px; color: #fff; box-shadow: var(--sombra); transition: transform .2s; }
.float-btn:hover { transform: scale(1.06); }
.float-btn--form { background: var(--vino); font-size: 32px; }
.float-btn--wa { background: var(--verde-wa); font-size: 36px; }
.wa-panel {
  position: absolute; right: 0; bottom: calc(100% + 12px); display: grid; gap: 10px; width: min(320px, 100vw - 32px);
  padding: 22px 18px 18px; border-radius: 12px; background: linear-gradient(234deg, #ededed 10%, #fff); box-shadow: var(--sombra);
}
.wa-panel[hidden] { display: none; }
.wa-close { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; background: none; color: var(--verde-wa); font-size: 22px; }
.wa-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; padding-right: 22px; }
.wa-head img { width: 56px; height: 56px; }
.wa-head p { font-size: 14px; font-weight: 700; color: #000; }
.wa-panel a {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 18px; border-radius: 50px;
  background: var(--verde-wa); color: #fff; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none;
}
.wa-panel a:hover { box-shadow: 0 0 14px rgba(0, 0, 0, .35); }

/* =========================================================
   Tableta (≥ 768 px)
   ========================================================= */
@media (min-width: 768px) {
  :root { --header-h: 76px; }
  body { font-size: 16px; }

  .header-bar { display: grid; grid-template-columns: 1fr auto 1fr; }
  .brand { order: 0; }
  .brand img { width: 150px; }
  .menu-toggle { flex-direction: row; justify-self: start; }
  .header-actions { display: flex; align-items: center; gap: 14px; justify-self: end; }
  .header-actions .search { width: 220px; }
  .search--mobile { display: none; }

  /* Menú: desplegable bajo el botón MENÚ, alineado con el contenedor */
  .site-menu { position: absolute; inset: 100% 0 auto; background: none; }
  .menu-panel {
    position: relative; inset: auto; display: grid; grid-template-columns: 1fr 310px; gap: 0; overflow: visible; padding: 0;
    width: min(1000px, 100% - 40px); margin: 12px 0 0 calc((100% - min(1200px, 100% - 40px)) / 2);
    border-radius: 18px; box-shadow: 0 18px 50px rgba(30, 0, 8, .28); animation-name: menu-drop; animation-duration: .22s;
  }
  .menu-panel::before { content: ''; position: absolute; top: -7px; left: 26px; width: 16px; height: 16px; border-radius: 3px; background: #fff; transform: rotate(45deg); }
  .menu-head { display: none; }
  .menu-main { gap: 22px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding: 26px 28px; }
  .menu-group { border: 0; border-radius: 0; overflow: visible; }
  /* en escritorio el título es solo un rótulo (el JS lo deja aria-expanded="true") */
  .menu-group-title[aria-expanded] {
    margin-bottom: 8px; padding: 0 0 10px; border-bottom: 1px solid #efe6de; background: none; color: var(--oro);
    font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none;
  }
  .menu-group-title svg { display: none; }
  .menu-group ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 10px; padding: 0; }
  .menu-programs a { border: 1px solid transparent; }
  .menu-programs a:hover, .menu-programs a:focus-visible { border-color: #ecd9c6; }
  .menu-aside { display: flex; flex-direction: column; padding: 28px 24px; border-radius: 0 18px 18px 0; }
  .menu-contact { margin-top: auto; padding-top: 20px; }

  .hero { min-height: 440px; }
  .hero-text { text-align: center; }
  .hero-text h1 { font-size: 30px; }
  .hero-text p { margin-inline: auto; font-size: 34px; }

  .se-parte { background-image: url(../img/maestrias-online-fondo-puntos-1600w.webp); }
  .slider-dots { display: none; }
  .slider-track { display: grid; gap: 24px; overflow: visible; padding: 0; }
  .slider-track--3 { grid-template-columns: repeat(3, 1fr); }
  .slider-track--3 > li > img { width: min(100%, 300px); }
  .slider-track--programas { grid-template-columns: repeat(3, 1fr); }
  .slider-track a:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 0, 0, .12); }

  .form-card { width: 100%; max-width: 620px; margin-inline: auto; padding: 40px 48px 44px; }
  .banner-cta { padding: 100px 0; background-image: url(../img/maestrias-en-linea-100-virtual-1920w.webp); }
  .acreditacion { flex-direction: row; justify-content: center; gap: 40px; }

  .faq { min-height: 640px; padding: 80px 0; background-image: url(../img/posgrados-en-guatemala-fondo-rojo-1600w.webp); background-position: right center; }
  .faq .title { justify-content: flex-start; max-width: 650px; }
  .faq-item h3 { font-size: 16px; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .float-btn { width: 65px; height: 65px; }
}

/* =========================================================
   Escritorio (≥ 1100 px)
   ========================================================= */
@media (min-width: 1100px) {
  html { scroll-padding-top: calc(var(--header-h) + 16px); }
  .cta-bar { display: none; }

  /* Banner a pantalla completa: deja visibles el círculo y el texto «¡Haz clic para deslizar…!» (≈ 95 px bajo la línea) */
  .hero { min-height: max(480px, calc(100svh - var(--header-h) - 95px)); padding: 80px 0; border-bottom: 10px solid var(--oro); overflow: visible; }
  .hero-text h1 { font-size: 37px; }
  .hero-text p { font-size: 40px; }
  /* El círculo queda centrado sobre la línea dorada (borde de 10 px) y el texto debajo, sobre el gris */
  .hero-scroll {
    position: absolute; left: 50%; top: calc(100% - 25px); z-index: 2; transform: translateX(-50%);
    display: grid; justify-items: center; gap: 12px; width: 240px; text-align: center;
  }
  .hero-scroll a { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
  .hero-scroll svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--vino); color: #fff; animation: latido 1.4s ease-in-out infinite; }
  .hero-scroll a:hover svg { animation-play-state: paused; }
  .hero-scroll p { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--vino); }

  .se-parte { padding-top: 120px; }
  .slider-track--programas { grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
  .slider-track--programas > li:nth-child(5) { grid-column: 2; }

  .form-layout { grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; }
  .form-copy h2 { font-size: 30px; text-align: left; }
  .form-copy img { display: block; width: 85%; margin-top: 24px; }
  .form-card { max-width: none; }

  .benef { flex-direction: row; }
  .benef-main { flex: 1.5; flex-direction: row; align-items: center; }
  .benef-tab { flex: 0 0 160px; align-self: stretch; height: auto; margin-right: -10px; padding-right: 15px; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
  .benef img { width: 100px; height: 100px; }
  .benef-main-txt { margin: 25px 0; padding: 0 30px 0 35px; border-bottom: 0; border-right: 2px solid var(--vino); text-align: left; }
  .benef-item { flex: 1; padding: 20px; }
  .benef-item + .benef-item { border-top: 0; }

  .faq { min-height: max(700px, 52vw); }

  .footer-grid { grid-template-columns: 200px 210px minmax(390px, 1fr) 230px; padding: 60px 0 40px; }
  .footer-contact a { white-space: nowrap; word-break: normal; }
}

/* El latido del botón «deslizar» es sutil: se mantiene aunque el sistema pida reducir movimiento */
@media (prefers-reduced-motion: reduce) and (min-width: 1100px) {
  .hero-scroll svg { animation: latido 1.4s ease-in-out infinite !important; }
}

/* ===================== ANIMACIONES ===================== */
@keyframes menu-in { from { transform: translateX(-100%); } }
@keyframes menu-drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
/* Latido: dos pulsos cortos y una pausa */
@keyframes latido { 0%, 40%, 100% { transform: scale(1); } 10% { transform: scale(1.14); } 20% { transform: scale(1); } 30% { transform: scale(1.1); } }
