@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

:root {
  --blue: #31599b;
  --blue-dark: #243e72;
  --ink: #4b5362;
  --pale: #eef1f7;
  --red: #ca3038;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Source Sans 3", "Trebuchet MS", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6,
.desktop-nav,
.mobile-nav,
.button,
.event-button {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 78px max(20px, calc((100vw - 1140px) / 2)); }
.pale { background: var(--pale); }
.section-title {
  margin: 0 0 44px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: center;
}
.section-title.light { color: white; }
.section-subtitle { margin: -30px 0 28px; font-size: 1.35rem; text-align: center; }

.site-header { position: relative; z-index: 30; background: #fff; box-shadow: 0 2px 8px rgba(25,44,82,.05); }
.topbar { height: 44px; background: var(--blue); color: #fff; font-size: .83rem; letter-spacing: .06em; }
.topbar-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-email .fa {
  font-size: 1rem;
  line-height: 1;
}
.topbar a:hover { opacity: .8; }
.nav-row { display: flex; min-height: 108px; align-items: center; justify-content: space-between; }
.brand img { width: 250px; height: 75px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a {
  color: #263e70;
  font-size: .96rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.desktop-nav a:hover { color: var(--red); }
.desktop-nav a[aria-current="page"] { color: var(--red); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { color: var(--blue); cursor: pointer; font-size: 1.7rem; list-style: none; }
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: 42px;
  display: flex;
  width: 220px;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e8ef;
  box-shadow: 0 12px 24px rgba(35,53,86,.14);
}
.mobile-nav nav a { padding: 13px 18px; border-bottom: 1px solid #eee; font-weight: 700; text-transform: uppercase; }
.mobile-nav nav a[aria-current="page"] { color: var(--red); }

.home-hero { position: relative; height: clamp(430px, 59vw, 715px); overflow: hidden; background: #e9edf3; }
.hero-slide { position: absolute; inset: 0; background-position: center; background-size: cover; animation: heroFade 12s infinite; }
.hero-slide-one { background-image: url("../assets/DSC_0044-scaled.jpg"); }
.hero-slide-two { background-image: url("../assets/ceaa-slide-1.jpg"); animation-delay: 6s; opacity: 0; }
@keyframes heroFade { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
.hero-dots { position: absolute; bottom: 22px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.hero-dots span { width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: rgba(255,255,255,.5); }
.intro { padding-top: 62px; padding-bottom: 10px; text-align: center; }
.intro p { margin: 0; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 800; }
.services-home { padding-top: 80px; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 35px 28px; }
.service-link { display: flex; min-height: 96px; flex-direction: column; align-items: center; gap: 12px; font-weight: 700; line-height: 1.15; text-align: center; }
.service-link:hover { color: var(--blue); transform: translateY(-3px); }
.service-icon { color: var(--blue); font-family: Arial, sans-serif; font-size: 2.55rem; font-weight: 800; line-height: 1; }
.team { overflow: hidden; }
.team-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.team-card { margin: 0; overflow: hidden; background: white; }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .3s ease; }
.team-card:hover img { transform: scale(1.03); }
.objectives { background: url("../assets/photo-collage1.jpg") center/cover fixed; }
.objectives-overlay { background: rgba(37,61,106,.88); }
.objective-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.objective-grid p { margin: 0; padding: 26px; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 1.06rem; font-weight: 700; text-align: center; }
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.program-card { display: grid; min-height: 310px; grid-template-columns: 46% 54%; overflow: hidden; background: #fff; box-shadow: 0 8px 28px rgba(34,55,92,.12); }
.program-card img { width: 100%; height: 100%; object-fit: cover; }
.program-card > div { padding: 28px; }
.program-card h3, .education-card h3 { margin: 0 0 8px; color: var(--blue); font-size: 1.35rem; line-height: 1.25; }
.program-age { font-weight: 800; }
.program-card ul { margin: 12px 0 0; padding-left: 18px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-grid iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 8px; background: #1d2a43; }
.education-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.education-card { display: grid; min-height: 250px; grid-template-columns: 42% 58%; overflow: hidden; border: 1px solid #e8eaf0; }
.education-card img { width: 100%; height: 100%; object-fit: cover; }
.education-card > div { padding: 28px; }

.page-hero { position: relative; display: flex; min-height: 430px; align-items: center; background-position: center; background-size: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(31,47,76,.25); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 0; color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: .01em; line-height: 1; text-transform: uppercase; }
.about-hero { background-image: url("../assets/DSC_1117-scaled.jpg"); }
.services-hero { background-image: linear-gradient(rgba(42,55,78,.72), rgba(42,55,78,.72)), url("../assets/testimonials-bg.jpg"); }
.contact-hero { background-image: url("../assets/DSC_0662-scaled.jpg"); }
.about-intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.about-intro h2, .contact-form-wrap h2 { margin-top: 0; color: var(--ink); font-size: 1.8rem; text-transform: uppercase; }
.about-intro p { font-size: 1.1rem; }
.timeline { border-left: 3px solid var(--blue); }
.timeline-item { position: relative; padding: 0 0 36px 40px; }
.timeline-item::before { content: ""; position: absolute; top: 8px; left: -9px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); }
.timeline-item h3 { margin: 0; color: var(--blue); font-size: 1.5rem; }
.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.mission-card { padding: 70px max(30px, calc((100vw - 1140px) / 2)); color: white; }
.mission-card:first-child { padding-right: 55px; background: var(--blue); }
.mission-card:last-child { padding-left: 55px; background: var(--blue-dark); }
.mission-card h2 { margin: 0 0 15px; font-size: 2rem; }
.mission-card p { margin: 0; font-size: 1.1rem; }
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-card { overflow: hidden; background: white; box-shadow: 0 10px 32px rgba(31,53,90,.11); }
.service-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.service-card div { padding: 26px 30px 30px; }
.service-card h2 { margin: 0 0 12px; color: var(--blue); font-size: 1.42rem; line-height: 1.25; }
.service-card p { margin: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 36px; }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #cfd3dc; background: #fbfcfd; padding: 13px; color: var(--ink); }
.contact-form textarea { min-height: 210px; resize: vertical; }
.button { width: fit-content; border: 0; background: var(--blue); color: white; cursor: pointer; padding: 13px 28px; text-transform: uppercase; }
.button:hover { background: var(--blue-dark); }
.contact-note { margin: 0; color: var(--blue); font-weight: 700; }
.contact-cards { display: grid; gap: 18px; }
.contact-card { background: var(--pale); padding: 24px 28px; }
.contact-card h3 { margin: 0 0 10px; color: var(--blue); font-size: 1.45rem; }
.contact-card p { margin: 5px 0; font-weight: 700; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { overflow: hidden; background: #fff; box-shadow: 0 8px 28px rgba(34,55,92,.12); }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card div { padding: 25px; }
.post-card h2 { margin: 0 0 8px; color: var(--blue); font-size: 1.35rem; line-height: 1.25; }
.post-meta { color: #838b99; font-size: .85rem; text-transform: uppercase; }
.post-article { max-width: 820px; margin: 0 auto; }
.post-article h1 { color: var(--blue); font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; }
.post-article img { width: 100%; margin: 28px 0; }
.post-article p { font-size: 1.08rem; }

.site-footer { background: #e9edf5; padding: 74px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.35fr 1fr; gap: 55px; }
.footer-brands { display: grid; gap: 26px; align-content: start; }
.footer-brands img:first-child { width: 220px; }
.footer-brands img:last-child { width: 175px; }
.site-footer h4 { display: inline-block; margin: 0 0 20px; border-radius: 2px; background: var(--red); color: #fff; padding: 9px 13px; font-size: .82rem; }
.site-footer a { display: block; margin: 5px 0; color: #314b7d; }
.site-footer p { margin: 6px 0; color: #99a1ae; }
.socials { display: flex; gap: 12px; color: var(--blue); font-size: 1.15rem; font-weight: 800; }
.socials a {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(49,89,155,.25);
  border-radius: 50%;
  background: #fff;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.socials a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.copyright { margin-top: 60px; border-top: 1px solid #aeb7c7; padding-top: 24px; color: #a1a9b7; font-size: .8rem; text-align: center; }
.whatsapp { position: fixed; right: 28px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 12px; filter: drop-shadow(0 3px 7px rgba(0,0,0,.2)); }
.whatsapp span { border-radius: 8px; background: #fff; padding: 9px 14px; }
.whatsapp b { display: grid; width: 50px; height: 50px; place-items: center; border: 3px solid white; border-radius: 50%; background: #55d66b; color: #fff; font-size: 1.7rem; }
.whatsapp b .fa { line-height: 1; }
.topbar-links a[aria-label="Facebook"] {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .team-strip { grid-template-columns: repeat(4, 1fr); }
  .program-grid, .education-grid, .services-list { grid-template-columns: 1fr; }
  .video-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1140px); }
  .section { padding: 58px 20px; }
  .topbar { height: auto; min-height: 42px; padding: 8px 0; }
  .topbar-inner > span { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .nav-row { min-height: 88px; }
  .brand img { width: 200px; height: auto; }
  .home-hero { height: 420px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .team-strip { grid-template-columns: repeat(2, 1fr); }
  .objective-grid, .mission-grid, .about-intro, .contact-grid { grid-template-columns: 1fr; }
  .mission-card { padding: 50px 24px !important; }
  .program-card, .education-card { grid-template-columns: 1fr; }
  .program-card img, .education-card img { aspect-ratio: 16/10; }
  .video-grid, .blog-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 330px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .whatsapp span { display: none; }
  .whatsapp { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Congreso y Diplomado en Educación Inclusiva */
.event-page {
  --event-red: #9e2537;
  --event-red-dark: #681725;
  --event-navy: #0d2f5d;
  --event-blue: #087fa9;
  --event-gold: #f2ca69;
}
.event-home {
  background:
    radial-gradient(circle at 85% 10%, rgba(9,127,169,.12), transparent 34%),
    #fff;
}
.featured-event {
  display: grid;
  max-width: 1050px;
  margin: 0 auto;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(17,46,84,.18);
}
.featured-event-poster {
  display: grid;
  min-height: 590px;
  place-items: center;
  background: #082d59;
}
.featured-event-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.featured-event-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 68px);
}
.event-kicker {
  display: block;
  margin-bottom: 12px;
  color: #9e2537;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.featured-event-content h2,
.event-hero-copy h1 {
  margin: 0;
  color: #102f5a;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.04;
}
.event-lead,
.event-tagline {
  color: #7f2736;
  font-size: 1.18rem;
  font-weight: 800;
}
.event-home-facts {
  display: grid;
  margin: 24px 0 30px;
  gap: 14px;
}
.event-home-facts div {
  display: grid;
  gap: 2px;
  border-left: 4px solid #087fa9;
  padding-left: 15px;
}
.event-home-facts strong { color: #102f5a; }
.event-home-facts span { color: #6c7480; }
.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.event-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.event-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(12,47,93,.18);
}
.event-button.primary { background: #9e2537; color: #fff; }
.event-button.secondary { background: #087fa9; color: #fff; }
.event-button.whatsapp-button { background: #27a85a; color: #fff; }

.event-detail-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(9,138,179,.46), transparent 32%),
    radial-gradient(circle at 16% 82%, rgba(200,41,58,.35), transparent 30%),
    linear-gradient(135deg, #071e3d, #0d3d6d 62%, #086f98);
  color: white;
  padding: 72px 0;
}
.event-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background: url("../assets/photo-collage1.jpg") center/cover;
  mix-blend-mode: screen;
}
.event-detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}
.event-main-poster {
  width: 100%;
  max-height: 700px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 26px 60px rgba(0,0,0,.35);
}
.event-hero-copy .event-kicker,
.light-kicker { color: var(--event-gold); }
.event-hero-copy h1 { color: white; }
.event-hero-copy > p:not(.event-tagline) {
  max-width: 700px;
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
}
.event-hero-copy .event-tagline {
  color: #ffe1a0;
  font-size: clamp(1.1rem, 2.3vw, 1.45rem);
}
.event-subnav {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(255,255,255,.96);
  box-shadow: 0 5px 18px rgba(15,39,74,.12);
  backdrop-filter: blur(10px);
}
.event-subnav .container {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 4vw, 48px);
  overflow-x: auto;
  padding-top: 15px;
  padding-bottom: 15px;
}
.event-subnav a {
  color: #193c68;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.event-subnav a:hover { color: var(--event-red); }
.event-summary-intro,
.event-section-heading {
  max-width: 820px;
  margin: 0 auto 45px;
  text-align: center;
}
.event-summary-intro h2,
.event-section-heading h2 {
  margin: 0 0 14px;
  color: var(--event-navy);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
}
.event-summary-intro p,
.event-section-heading p { color: #6a7280; font-size: 1.07rem; }
.event-track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.event-track {
  display: grid;
  grid-template-columns: minmax(180px, 39%) 1fr;
  overflow: hidden;
  border: 1px solid #e1e7ef;
  border-radius: 16px;
  background: white;
  box-shadow: 0 16px 40px rgba(19,52,92,.1);
}
.event-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.event-track > div { padding: 30px; }
.event-track h3 {
  margin: 8px 0 18px;
  color: var(--event-navy);
  font-size: 1.5rem;
  line-height: 1.2;
}
.track-label {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 10px;
  background: #f8e8eb;
  color: var(--event-red);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.diploma-track .track-label { background: #e3f4fa; color: var(--event-blue); }
.event-facts { margin: 0 0 24px; }
.event-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  border-top: 1px solid #e8ecf2;
  padding: 10px 0;
}
.event-facts dt { color: #8b919c; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.event-facts dd { margin: 0; color: #3d4857; font-weight: 700; }
.event-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--event-red-dark), var(--event-red));
  color: white;
}
.event-band::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background: url("../assets/congreso-educacion-inclusiva.jpg") center 26%/cover;
}
.event-band .section { position: relative; z-index: 1; }
.event-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.event-info-panel {
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  padding: 30px;
  backdrop-filter: blur(5px);
}
.event-info-panel h3 { margin: 0 0 10px; color: white; font-size: 1.45rem; }
.event-info-panel p { margin: 0; color: rgba(255,255,255,.88); }
.event-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
  gap: 34px;
  align-items: start;
}
.event-table-wrap,
.event-includes,
.lodging-grid article {
  border: 1px solid #e1e6ee;
  border-radius: 14px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(20,49,87,.08);
}
.event-table-wrap { overflow-x: auto; }
.event-table-wrap h3,
.event-includes h3,
.lodging-grid h3 { margin: 0 0 18px; color: var(--event-navy); }
.event-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: .9rem;
}
.event-table th,
.event-table td {
  border-bottom: 1px solid #e8ebf0;
  padding: 13px 12px;
  text-align: left;
}
.event-table thead th { background: var(--event-navy); color: white; }
.event-table tbody th { color: var(--event-navy); }
.check-list { display: grid; margin: 0; padding: 0; gap: 11px; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #27a85a; font-weight: 900; }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.schedule-day {
  overflow: hidden;
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 35px rgba(20,49,87,.08);
}
.schedule-day h3 {
  margin: 0;
  background: var(--event-red);
  color: white;
  padding: 20px 24px;
  font-size: 1.15rem;
}
.schedule-list { margin: 0; padding: 15px 24px 22px; list-style: none; }
.schedule-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 13px;
  border-bottom: 1px solid #e9ecf1;
  padding: 13px 0;
}
.schedule-list li:last-child { border-bottom: 0; }
.schedule-list time { color: var(--event-red); font-weight: 900; }
.schedule-list span { font-size: .92rem; }
.lodging-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.lodging-grid article { border-top: 5px solid var(--event-red); }
.lodging-grid p { margin: 8px 0; }
.lodging-grid a { color: var(--event-blue); font-weight: 900; }
.hotel-price { color: var(--event-red); font-size: 1.4rem; font-weight: 900; }
.diploma-band { background: linear-gradient(135deg, #062a4c, #087fa9); }
.diploma-band::after { background-image: url("../assets/diplomado-educacion-inclusiva.jpg"); }
.diploma-quick-info p { margin: 6px 0; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.module-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  border: 1px solid #dde4ed;
  border-radius: 14px;
  background: white;
  padding: 27px;
  box-shadow: 0 10px 28px rgba(18,52,92,.08);
}
.module-card h3 { margin: 5px 0 12px; color: var(--event-navy); font-size: 1.32rem; line-height: 1.2; }
.module-card ul { margin: 0; padding-left: 18px; }
.module-number {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  background: var(--event-blue);
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
}
.module-date { margin: 0; color: var(--event-blue); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.featured-module { border: 2px solid var(--event-red); background: #fff8f9; }
.featured-module .module-number { background: var(--event-red); }
.speaker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.speaker-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  overflow: hidden;
  border-radius: 14px;
  background: white;
  box-shadow: 0 14px 40px rgba(18,50,90,.11);
}
.speaker-photo {
  min-height: 410px;
  background-position: center;
  background-size: cover;
}
.speaker-emilio { background-image: url("../assets/emilio-ruiz.jpg"); }
.speaker-raquel { background-image: url("../assets/raquel-lopez.jpg"); }
.speaker-card > div:last-child { padding: 28px; }
.speaker-card h3 { margin: 0 0 14px; color: var(--event-navy); font-size: 1.4rem; }
.speaker-card p { font-size: .93rem; }
.event-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 55px;
  align-items: center;
}
.event-contact h2 { margin: 0 0 15px; color: var(--event-navy); font-size: clamp(2rem, 4vw, 3.2rem); }
.event-contact a:not(.event-button) { color: var(--event-blue); }
.event-qr img {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

@media (max-width: 1000px) {
  .featured-event,
  .event-detail-grid,
  .event-track,
  .speaker-card { grid-template-columns: 1fr; }
  .featured-event-poster { min-height: 0; max-height: 700px; }
  .featured-event-poster img { max-height: 700px; }
  .event-main-poster { max-width: 500px; margin: 0 auto; }
  .event-track img { max-height: 500px; object-fit: contain; background: #eef2f7; }
  .speaker-photo { min-height: 390px; background-position: top center; }
}

@media (max-width: 760px) {
  .event-detail-hero { padding: 45px 0; }
  .event-track-grid,
  .event-two-columns,
  .event-details-grid,
  .schedule-grid,
  .lodging-grid,
  .module-grid,
  .speaker-grid,
  .event-contact { grid-template-columns: 1fr; }
  .event-subnav .container { justify-content: flex-start; }
  .module-card { grid-template-columns: 58px 1fr; padding: 22px 18px; gap: 16px; }
  .module-number { width: 56px; height: 56px; font-size: 1rem; }
  .event-table-wrap { margin-right: -4px; }
  .event-contact { gap: 35px; }
}

@media (max-width: 560px) {
  .featured-event { grid-template-columns: 1fr; }
  .featured-event-content { padding: 30px 22px 36px; }
  .featured-event-poster img { max-height: 590px; }
  .event-actions { display: grid; grid-template-columns: 1fr; }
  .event-button { width: 100%; }
  .event-track > div { padding: 24px 20px; }
  .schedule-list { padding: 10px 17px 18px; }
  .schedule-list li { grid-template-columns: 54px 1fr; gap: 9px; }
  .event-table-wrap,
  .event-includes,
  .lodging-grid article { padding: 22px 18px; }
}

/* Experiencia de inicio: tipografía, iconos y carruseles */
.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;
}

:focus-visible {
  outline: 3px solid #e4bd1c;
  outline-offset: 4px;
}

.desktop-nav {
  gap: 25px;
}

.desktop-nav a,
.mobile-nav nav a {
  letter-spacing: .015em;
}

.services-home {
  background:
    radial-gradient(circle at 12% 10%, rgba(49,89,155,.06), transparent 28%),
    #fff;
}

.service-grid {
  max-width: 1120px;
  margin: 0 auto;
  gap: 44px 24px;
}

.service-link {
  min-height: 118px;
  justify-content: flex-start;
  gap: 15px;
  color: #424d61;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: .98rem;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}

.service-link:hover {
  color: #1e56a0;
  transform: translateY(-5px);
}

.service-icon {
  display: grid;
  width: 64px;
  height: 58px;
  place-items: center;
  color: #205aa7;
  font-family: FontAwesome;
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}

.service-link:hover .service-icon {
  transform: scale(1.08);
}

.content-carousel {
  --per-view: 1;
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 54px 44px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 14px;
  touch-action: pan-y;
}

.carousel-viewport:focus-visible {
  outline-color: #fff;
}

.carousel-track {
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform .52s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(100% / var(--per-view));
  min-width: 0;
  padding: 0 12px;
}

.carousel-arrow {
  position: absolute;
  top: calc(50% - 22px);
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #223f72;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(15,40,78,.16);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.carousel-arrow:hover {
  background: #223f72;
  color: #fff;
  transform: translateY(-2px);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots {
  position: absolute;
  right: 54px;
  bottom: 5px;
  left: 54px;
  display: flex;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: #41577c;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}

.carousel-dot[aria-current="true"] {
  background: currentColor;
  transform: scale(1.18);
}

.objectives {
  min-height: 430px;
  background: #ebd12c;
}

.objectives .section-title {
  color: #32476a;
}

.objectives-carousel {
  max-width: 1050px;
}

.objective-slide {
  display: grid;
  min-height: 155px;
  place-items: center;
}

.objective-slide p {
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: clamp(1.08rem, 2.1vw, 1.42rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

.objective-slide strong {
  color: #243e72;
  text-transform: uppercase;
}

.objectives .carousel-arrow {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.objectives .carousel-arrow:hover {
  background: rgba(255,255,255,.35);
  color: #243e72;
}

.programs-section {
  background:
    linear-gradient(rgba(27,69,117,.82), rgba(27,69,117,.82)),
    url("../assets/photo-collage1.jpg") center/cover;
}

.carousel-help,
.section-intro {
  max-width: 760px;
  margin: -25px auto 34px;
  text-align: center;
}

.carousel-help {
  color: rgba(255,255,255,.9);
}

.programs-carousel {
  --per-view: 2;
  max-width: 1160px;
}

.programs-carousel .carousel-arrow,
.education-carousel .carousel-arrow {
  background: rgba(255,255,255,.92);
}

.programs-carousel .carousel-dot {
  color: #fff;
}

.program-card {
  position: relative;
  display: block;
  height: 430px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(4,25,53,.3);
}

.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.program-card h3 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin: 0;
  background: rgba(33,85,161,.96);
  color: #fff;
  padding: 14px 20px;
  font-size: 1.08rem;
  text-align: center;
}

.program-details {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, rgba(21,54,105,.96), rgba(34,93,161,.93));
  color: #fff;
  opacity: 0;
  padding: 34px;
  transform: translateY(18px);
  transition: opacity .28s ease, transform .28s ease;
}

.program-details .program-age {
  margin: 0 0 14px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
}

.program-details ul {
  margin: 0;
  padding-left: 19px;
}

.program-card:hover img,
.program-slide:focus .program-card img,
.program-slide:focus-within .program-card img {
  transform: scale(1.06);
}

.program-card:hover .program-details,
.program-slide:focus .program-details,
.program-slide:focus-within .program-details {
  opacity: 1;
  transform: translateY(0);
}

.capsules {
  background: #fff;
}

.video-grid {
  align-items: stretch;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(29,52,89,.14);
  transition: transform .25s ease, box-shadow .25s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(29,52,89,.2);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #16233a;
}

.video-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  aspect-ratio: 16/9;
  background: linear-gradient(transparent 50%, rgba(7,25,53,.38));
  pointer-events: none;
}

.video-play {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #d72c35;
  color: #fff;
  font-size: 1.3rem;
  padding-left: 4px;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.video-card strong,
.video-card small {
  display: block;
  padding-right: 20px;
  padding-left: 20px;
}

.video-card strong {
  color: #263e70;
  padding-top: 18px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
}

.video-card small {
  color: #ca3038;
  padding-top: 3px;
  padding-bottom: 18px;
  font-size: .88rem;
  font-weight: 700;
}

.education-section {
  background:
    linear-gradient(rgba(235,209,44,.94), rgba(235,209,44,.94)),
    url("../assets/photo-collage1.jpg") center/cover;
}

.education-section .section-title {
  max-width: 1060px;
  margin-right: auto;
  margin-left: auto;
  color: #2f466d;
}

.education-carousel {
  max-width: 1160px;
}

.education-slide {
  display: grid;
  min-height: 510px;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(68,58,4,.22);
}

.education-slide img {
  width: 100%;
  height: 510px;
  object-fit: cover;
}

.education-slide > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
}

.education-slide h3 {
  margin: 0 0 18px;
  color: #235aa2;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.education-slide p {
  margin: 0;
  font-size: 1.08rem;
}

@media (max-width: 1024px) {
  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a {
    font-size: .84rem;
  }

  .programs-carousel {
    --per-view: 2;
  }

  .education-slide {
    min-height: 450px;
    grid-template-columns: 1.25fr .75fr;
  }

  .education-slide img {
    height: 450px;
  }
}

@media (max-width: 700px) {
  .content-carousel {
    --per-view: 1;
    padding-right: 0;
    padding-left: 0;
  }

  .carousel-slide {
    padding: 0 4px;
  }

  .carousel-arrow {
    top: auto;
    bottom: 0;
  }

  .carousel-prev { left: 2px; }
  .carousel-next { right: 2px; }
  .carousel-dots { right: 55px; left: 55px; }

  .objectives {
    min-height: 410px;
  }

  .objective-slide {
    min-height: 190px;
  }

  .program-card {
    height: auto;
  }

  .program-card img {
    height: auto;
    aspect-ratio: 4/3;
  }

  .program-card h3 {
    position: static;
    padding: 15px 20px;
  }

  .program-details {
    position: static;
    background: #fff;
    color: #4b5362;
    opacity: 1;
    padding: 23px 24px 28px;
    transform: none;
  }

  .program-details .program-age {
    color: #24599f;
  }

  .education-slide {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .education-slide img {
    height: auto;
    aspect-ratio: 4/3;
  }

  .education-slide > div {
    padding: 28px 24px 34px;
  }

  .video-play {
    top: 36%;
  }
}

@media (hover: none) {
  .program-card {
    height: auto;
  }

  .program-card img {
    height: auto;
    aspect-ratio: 4/3;
  }

  .program-card h3 {
    position: static;
  }

  .program-details {
    position: static;
    background: #fff;
    color: #4b5362;
    opacity: 1;
    transform: none;
  }

  .program-details .program-age {
    color: #24599f;
  }
}
