@font-face {
  font-family: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #061827;
  --navy-panel: #0c2637;
  --ink: #102737;
  --muted: #425968;
  --muted-light: #c4d8e2;
  --paper: #f8fafb;
  --ice: #e9f2f5;
  --line: #c8dce3;
  --aqua: #84e5eb;
  --teal: #006779;
  --width: 1240px;
  --gutter: clamp(21px, 5vw, 70px);
  --space: clamp(58px, 8.5vw, 120px);
  --radius: 6px;
  --sans: Manrope, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
#mxe-event {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: #84e5eb55;
}
#mxe-event :is(h1, h2, h3, p, figure, dl, dd, ul, ol) { margin: 0; }
#mxe-event :is(h1, h2, h3) { font-family: var(--sans); color: inherit; }
#mxe-event h2 { font-size: clamp(34px, 4.6vw, 63px); font-weight: 800; line-height: 1.02; letter-spacing: -.06em; text-wrap: balance; }
#mxe-event h3 { font-size: 21px; font-weight: 800; line-height: 1.22; letter-spacing: -.035em; }
#mxe-event a { color: inherit; }
#mxe-event img { display: block; max-width: 100%; height: auto; }
#mxe-event :is(a, button, input, select, summary) { touch-action: manipulation; }
#mxe-event :focus-visible { outline: 3px solid #008696; outline-offset: 4px; }
#mxe-event :is(.hero, .audience-section, .registration-section, .final-call) :focus-visible { outline-color: var(--aqua); }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--width)); margin-inline: auto; }
.section { padding-block: var(--space); }
.icon { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; fill: currentColor; }
.skip-link { position: absolute; z-index: 10; top: 10px; left: 10px; padding: 8px 14px; transform: translateY(-180%); background: #fff; }
.skip-link:focus { transform: translateY(0); }
#mxe-event .kicker {
  margin-bottom: 16px;
  color: var(--teal);
  font: 650 12px/1.4 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; }

#mxe-event .site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.reading-progress { height: 4px; background: #dbe8ee; }
.reading-progress::before { content: ""; display: block; height: 100%; background: #087952; transform: scaleX(var(--reading-progress, 0)); transform-origin: left; }
#mxe-event :is(#contenido, #temario, #dirigido, #ponente, #registro, #atm) { scroll-margin-top: 92px; }
.header-row { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.brand { flex: none; }
#mxe-event .brand img { width: clamp(137px, 17vw, 186px); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
#mxe-event .nav-link { font-size: 13px; font-weight: 750; text-decoration: none; }
#mxe-event .nav-link:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
#mxe-event .button, #mxe-event .form-card .wpcf7-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 53px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: none;
  background: var(--aqua);
  color: var(--navy);
  font: 800 14px/1.28 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
#mxe-event .button:hover, #mxe-event .form-card .wpcf7-submit:hover { background: #b3f3f5; color: var(--navy); }
#mxe-event .button--signup { position: relative; min-height: 44px; background: #2bdd87; border-color: #087952; color: var(--navy); }
#mxe-event .button--signup:hover { background: #50e89c; }
#mxe-event .button .icon { color: inherit; fill: currentColor; }
#mxe-event .button .icon use { fill: currentColor; }
.button .icon, .text-link .icon { transition: transform .18s ease; }
.button:hover .icon { transform: translateX(3px); }
.button--signup:hover .icon { transform: translateY(3px); }
.text-link:hover .icon { transform: translateY(3px); }

.hero { position: relative; isolation: isolate; min-height: clamp(640px, calc(100svh - 76px), 820px); display: grid; align-items: center; overflow: hidden; background: var(--navy); color: #f4fbff; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
#mxe-event .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #061827 0%, #061827f5 22%, #061827dc 39%, #06182772 53%, #06182710 66%, transparent 76%),
              linear-gradient(0deg, #061827d1, transparent 25%);
  pointer-events: none;
}
.hero-content.wrap { width: min(calc(100% - 2 * var(--gutter)), 1660px); }
.hero-content { padding-block: clamp(32px, 4vh, 56px); }
.hero-copy { max-width: min(790px, 62vw); min-width: 0; }
#mxe-event .hero-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 15px; color: var(--aqua); font: 500 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.hero-kicker .icon { width: 42px; height: 42px; padding-right: 15px; border-right: 1px solid #a3cfda; color: var(--aqua); }
.hero-kicker-copy { display: grid; gap: 5px; min-width: 0; }
.hero-kicker-copy strong { font-size: 14px; font-weight: 850; line-height: 1.15; letter-spacing: .12em; text-transform: uppercase; }
.hero-kicker-copy small { font-size: 10px; font-weight: 750; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; }
#mxe-event .hero h1 {
  margin-bottom: 15px;
  font-size: clamp(44px, 3.4vw, 64px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.05em;
  text-wrap: balance;
}
#mxe-event .hero h1 .hero-highlight { color: #f1d94f; }
#mxe-event .hero-question { max-width: 31ch; margin-bottom: 13px; font-size: clamp(20px, 2.25vw, 31px); font-weight: 750; line-height: 1.28; text-wrap: pretty; }
#mxe-event .hero-intro { max-width: 56ch; margin-bottom: 14px; padding-left: 13px; border-left: 3px solid #f1d94f; color: #f4fbff; font-size: clamp(15px, 1.15vw, 18px); font-weight: 600; line-height: 1.45; }
#mxe-event .hero-intro strong { color: #f1d94f; font-weight: 850; }
#mxe-event .hero-presenter { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin: 0; padding: 9px 17px; border: 1px solid #d9eef3b5; border-radius: 999px; background: #061827a8; color: #f4fbff; font-size: 13px; font-weight: 700; line-height: 1.28; }
.hero-presenter .icon { width: 31px; height: 31px; color: #f1d94f; }
.hero-presenter span, .hero-presenter strong, .hero-presenter small { display: block; }
.hero-presenter small { margin-top: 2px; color: #d4e9ef; font-size: 11px; font-weight: 650; }
#mxe-event .hero-meta { margin: 17px 0 20px; padding: 0; max-width: 498px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 160px); grid-template-rows: repeat(3, auto); gap: 10px 18px; list-style: none; color: #e3f4fa; font-size: 13px; font-weight: 750; }
.hero-meta li, .hero-actions { display: flex; align-items: center; gap: 8px; }
.hero-meta li { min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
.hero-meta .icon { color: var(--aqua); font-size: 18px; }
.hero-meta > li:nth-child(1) { grid-column: 1; grid-row: 1; }
.hero-meta > li:nth-child(2) { grid-column: 1; grid-row: 2; }
.hero-meta > li:nth-child(3) { grid-column: 1; grid-row: 3; }
.hero-meta > li.hero-meta-accreditation { grid-column: 2; grid-row: 1 / 4; align-self: center; justify-self: end; }
#mxe-event .hero-meta .aecomf-logo { display: block; width: 160px; max-width: 100%; height: auto; }
.hero-actions { flex-wrap: wrap; gap: 12px 22px; }
#mxe-event .hero-actions .button { min-height: 59px; padding: 15px 27px; border-radius: 999px; background: #f1d94f; color: #061827; font-size: 15px; box-shadow: 0 9px 24px #d4ac3038; }
#mxe-event .hero-actions .button:hover { background: #ffe875; color: #061827; transform: translateY(-1px); }
#mxe-event .text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #e8f9ff; font-size: 14px; font-weight: 750; text-decoration: none; }
#mxe-event .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.facts { background: var(--ice); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: grid; grid-template-columns: 30px 1fr; align-items: center; column-gap: 13px; padding: 24px clamp(13px, 2.2vw, 30px); border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .icon { width: 26px; height: 26px; grid-row: 1 / span 2; color: var(--teal); }
.fact-label { color: var(--teal); font: 650 11px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.fact-value { font-size: clamp(14px, 1.5vw, 19px); font-weight: 800; line-height: 1.28; }
.fact-value small { color: var(--muted); font-size: .72em; font-weight: 650; }

.intro-grid, .section-head { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: end; gap: clamp(24px, 6vw, 80px); }
.intro-grid { align-items: start; }
#mxe-event .intro-grid .section-lead { margin-bottom: 21px; }
.intro-points { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.intro-points li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 780; }
.intro-points .icon { width: 23px; height: 23px; flex: none; color: var(--teal); }

.program-section { background: var(--ice); border-block: 1px solid var(--line); }
.topic-list { margin-top: clamp(33px, 5.5vw, 68px); border-top: 1px solid #abc6d1; }
.topic { display: grid; grid-template-columns: 53px minmax(0, 1fr) minmax(0, .72fr); gap: 0 16px; padding: 20px 0; border-bottom: 1px solid #abc6d1; }
.topic-mark { grid-row: 1 / span 2; display: grid; justify-items: center; align-content: start; gap: 6px; color: var(--teal); }
.topic-mark .icon { width: 31px; height: 31px; }
.topic-number { font: 700 11px/1.4 var(--mono); letter-spacing: .12em; }
#mxe-event .topic h3 { margin-bottom: 6px; }
.topic p { color: var(--muted); font-size: 15px; line-height: 1.58; }
.topic-details { grid-area: 1 / 3 / span 2 / 4; align-self: start; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 12px; margin: 0; font-size: 14px; line-height: 1.5; }
.topic-details dt { color: var(--teal); font-weight: 800; }
.topic-details dd { margin: 0; color: var(--muted); }

.audience-section { background: var(--navy); color: #f3fbff; }
.audience-grid { width: min(100%, 880px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; }
.audience-heading { text-align: center; }
#mxe-event .audience-section #audience-title { font-size: clamp(30px, 3.2vw, 44px); }
#mxe-event .audience-section .kicker, #mxe-event .registration-section .kicker, #mxe-event .final-call .kicker { color: var(--aqua); }
.audience-list { list-style: none; padding: 0; border-top: 1px solid #365263; }
.audience-list li { display: grid; grid-template-columns: 36px 1fr; gap: 15px; align-items: start; padding: 21px 0; border-bottom: 1px solid #365263; }
.audience-list .icon { width: 29px; height: 29px; color: var(--aqua); }
.audience-list strong { display: block; margin-bottom: 5px; font-weight: 800; font-size: 17px; line-height: 1.3; }
.audience-list span span { display: block; color: var(--muted-light); font-size: 15px; }
.audience-list .audience-secondary { align-items: center; color: var(--muted-light); font-size: 14px; }
.audience-secondary .icon { width: 22px; height: 22px; }

.speaker-section { background: var(--paper); }
.speaker-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(30px, 7vw, 90px); align-items: start; }
.speaker-portrait { background: var(--navy); color: #e5f8ff; border-radius: var(--radius); overflow: hidden; }
#mxe-event .speaker-portrait img { width: 100%; }
.speaker-portrait figcaption { padding: 13px 16px; font: 500 12px/1.4 var(--mono); letter-spacing: .035em; }
#mxe-event .speaker-role { margin-top: 11px; color: var(--teal); font-weight: 750; font-size: 15px; }
.speaker-experience { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px 22px; margin-top: 19px; padding: 14px 0 14px 16px; border-left: 3px solid var(--teal); color: var(--muted); font-size: 14px; line-height: 1.48; }
.speaker-experience strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.25; }
.speaker-experience p:first-child strong { color: var(--teal); font-size: clamp(24px, 3vw, 39px); letter-spacing: -.045em; }
#mxe-event .speaker-copy { margin-block: 18px; color: var(--muted); font-size: 16px; }
#mxe-event .speaker-credentials { margin-bottom: 26px; border-top: 1px solid var(--line); }
.speaker-credentials div { display: grid; grid-template-columns: minmax(145px, .42fr) minmax(0, 1fr); gap: 6px 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.speaker-credentials dt { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 800; line-height: 1.5; }
.speaker-credentials .icon { color: var(--teal); margin-top: 1px; font-size: 15px; }
.speaker-credentials dd { color: var(--muted); font-size: 14px; line-height: 1.6; }
#mxe-event .speaker-credentials a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

.registration-section { background: var(--navy-panel); color: #effaff; }
#mxe-event .registration-section #registration-title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.045em; }
.registration-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(34px, 6vw, 85px); align-items: start; }
#mxe-event .registration-copy > p:not(.kicker) { margin-block: 20px 22px; max-width: 43ch; color: var(--muted-light); }
.registration-facts { display: grid; gap: 13px; list-style: none; padding: 0; color: #d7e5eb; font-size: 15px; font-weight: 550; }
.registration-facts strong { color: #f4fbff; font-weight: 800; }
.registration-facts .benefit-lead { color: #f1d94f; font-weight: 850; }
.registration-facts .benefit-keyword { color: var(--aqua); font-weight: 800; }
.registration-facts li { display: flex; align-items: center; gap: 12px; }
.registration-facts .icon { color: var(--aqua); font-size: 22px; }
.registration-facts .digital-badge-benefit .icon { color: #48e89e; font-size: 26px; filter: drop-shadow(0 0 6px rgba(72, 232, 158, .42)); }
.form-card { padding: clamp(21px, 4vw, 40px); border-radius: var(--radius); background: #fff; color: var(--ink); }
.form-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 19px; border-bottom: 1px solid var(--line); }
#mxe-event .form-card-head p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.free-stamp { display: inline-flex; gap: 6px; align-items: center; padding: 6px 9px; border-radius: var(--radius); background: var(--ice); color: var(--teal); font: 700 11px/1.4 var(--mono); text-transform: uppercase; white-space: nowrap; }
.event-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.event-form-grid label { display: block; color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.4; }
.event-form-grid .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
#mxe-event .event-form-grid :is(input, select) {
  display: block; width: 100%; min-height: 49px; margin: 0; padding: 10px 12px; border: 1px solid #a8c2ce; border-radius: var(--radius);
  background-color: #fff; color: var(--ink); font: 550 16px/1.35 var(--sans); box-shadow: none;
}
#mxe-event .event-form-grid input::placeholder { color: #5a707d; opacity: 1; }
#mxe-event .event-form-grid select { appearance: none; padding-inline-end: 33px; background: #fff url("webinar-caret.svg") no-repeat right 12px center / 14px; }
#mxe-event .form-card :focus-visible { outline-color: #008696; }
.event-form-consent { margin: 17px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.event-form-consent .wpcf7-form-control-wrap { display: block; }
.event-form-consent .wpcf7-list-item { margin: 0; }
.event-form-consent label { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
#mxe-event .event-form-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
#mxe-event .event-form-consent a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
#mxe-event .collaboration-note { margin: 6px 0 0 26px; color: var(--muted); }
.registration-resource { margin-top: 18px; padding: 14px; border-radius: var(--radius); background: var(--ice); font-size: 14px; }
#mxe-event .registration-resource a { display: inline-block; margin-top: 4px; color: var(--teal); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
#mxe-event .form-card .wpcf7-submit { width: 100%; }
#mxe-event .form-card .wpcf7-submit:disabled { background: #dce8ed; color: #3d5a69; opacity: 1; cursor: not-allowed; }
.form-card .wpcf7-spinner { display: block; margin: 10px auto 0; }
.form-card .wpcf7-not-valid-tip { display: block; margin-top: 5px; color: #963738; font-size: 13px; }
#mxe-event .form-card .wpcf7-response-output { margin: 13px 0 0; padding: 10px 12px; border: 1px solid #71ad98; background: #eef9f4; color: #194e3b; font-size: 14px; }
#mxe-event .form-card form:is(.invalid, .failed, .spam) .wpcf7-response-output { border-color: #d58c91; background: #fff2f3; color: #8d3038; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(25px, 7vw, 92px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; padding: 18px 0; font-size: 16px; font-weight: 800; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--teal); font-size: 18px; transition: transform .18s ease; }
.faq-list details[open] .icon { transform: rotate(45deg); }
#mxe-event .faq-list p { margin-bottom: 19px; color: var(--muted); font-size: 15px; }
.final-call { padding-block: clamp(36px, 5.5vw, 70px); background: var(--navy); color: #f3fbff; }
.final-call-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
#mxe-event .final-call h2 { font-size: clamp(27px, 4vw, 48px); }
#mxe-event .final-copy { max-width: 54ch; margin-top: 13px; color: var(--muted-light); }
.final-call .button { flex: none; }
.site-footer { padding: 25px 0; background: var(--ice); color: var(--muted); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }
#mxe-event .footer-row img { width: 145px; height: auto; }
#mxe-event .footer-row p a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 941px) and (max-width: 1200px) {
  .hero-media::after { background: linear-gradient(90deg, #061827 0%, #061827f7 28%, #061827e7 43%, #06182788 58%, transparent 78%), linear-gradient(0deg, #061827d1, transparent 25%); }
  .hero-copy { max-width: min(650px, 56vw); }
  #mxe-event .hero h1 { font-size: clamp(42px, 4.6vw, 54px); }
}

@media (max-width: 940px) {
  .hero { min-height: auto; }
  .hero-media { bottom: auto; height: clamp(330px, 58vw, 545px); }
  #mxe-event .hero-media img { object-position: 70% 48%; }
  .hero-media::after { background: linear-gradient(0deg, var(--navy) 0%, #061827ed 12%, #06182750 46%, transparent 75%); }
  .hero-content { padding: clamp(300px, 45vw, 430px) 0 42px; }
  .hero-copy { max-width: 720px; }
  #mxe-event .hero h1 { font-size: clamp(42px, 6.2vw, 60px); }
  .registration-grid { grid-template-columns: minmax(0, 1fr); }
  .registration-grid > * { min-width: 0; }
  .form-card { width: min(100%, 660px); }
}

@media (max-width: 710px) {
  .header-row { min-height: 64px; gap: 11px; }
  .site-nav .nav-link { display: none; }
  #mxe-event .button--signup { padding-inline: 11px; font-size: 12px; }
  #mxe-event :is(#contenido, #temario, #dirigido, #ponente, #registro, #atm) { scroll-margin-top: 80px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 15px 10px; grid-template-columns: 24px 1fr; column-gap: 8px; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact .icon { width: 21px; height: 21px; }
  .intro-grid, .section-head, .audience-grid, .speaker-grid, .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .topic { grid-template-columns: 34px minmax(0, 1fr); gap: 0 12px; padding-block: 17px; }
  .topic-details { grid-area: 3 / 2; margin-top: 12px; }
  .topic-mark .icon { width: 25px; height: 25px; }
  .speaker-portrait { max-width: 450px; }
  .speaker-credentials div { grid-template-columns: 1fr; }
  .final-call-row, .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .speaker-experience { grid-template-columns: 1fr; }
  .hero-media { height: 700px; background: var(--navy); }
  #mxe-event .hero-media img { height: clamp(300px, 100vw, 480px); object-position: 88% center; }
  .hero-media::after { background: linear-gradient(0deg, #061827 0%, #061827f0 12%, #06182762 48%, transparent 78%); }
  .hero-content { padding: clamp(270px, 78vw, 370px) 0 34px; }
  .hero-copy { max-width: 100%; }
  #mxe-event .hero-kicker { align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 12px; }
  .hero-kicker .icon { width: 36px; height: 36px; padding-right: 11px; }
  .hero-kicker-copy { gap: 4px; }
  .hero-kicker-copy strong { font-size: 12px; }
  .hero-kicker-copy small { font-size: 9px; letter-spacing: .1em; }
  #mxe-event .hero h1 { margin-bottom: 15px; font-size: clamp(32px, 8.3vw, 48px); }
  #mxe-event .hero-intro { max-width: 44ch; margin-bottom: 13px; font-size: 15px; }
  .hero-presenter { width: 100%; padding: 9px 12px; border-radius: 18px; }
  #mxe-event .hero-meta { margin: 16px 0; font-size: 12px; gap: 12px 10px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 7px; }
  #mxe-event .hero-actions .button { width: 100%; min-height: 56px; font-size: 15px; }
  #mxe-event .text-link { justify-content: center; min-height: 40px; text-align: center; }
  .event-form-grid { grid-template-columns: 1fr; gap: 13px; }
}

@media (max-width: 370px) {
  #mxe-event .brand img { width: 127px; }
  #mxe-event .button--signup { gap: 5px; padding-inline: 7px; }
  .hero-caption { font-size: 10px; }
  #mxe-event .hero h1 { font-size: clamp(30px, 8.6vw, 34px); }
  #mxe-event .hero-meta { margin-block: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 132px); column-gap: 8px; }
  #mxe-event .hero-meta .aecomf-logo { width: 132px; }
  #mxe-event .hero-actions .button { min-height: 54px; padding: 12px 14px; font-size: 14px; }
  .hero-actions .button, .final-call .button { width: 100%; }
}

@media (forced-colors: active) {
  #mxe-event .event-form-grid select { appearance: auto; background-image: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-enter .6s ease-out both; }
  @keyframes hero-enter { from { opacity: .65; transform: translateY(10px); } }
  .button--signup::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid #0aaa61;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    animation: signup-pulse 1.4s cubic-bezier(.23, 1, .32, 1) 3;
  }
  @keyframes signup-pulse {
    from { opacity: .8; transform: scale(1); }
    to { opacity: 0; transform: scale(1.08, 1.26); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #mxe-event *, #mxe-event *::before, #mxe-event *::after { transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .registration-grid .form-card { grid-row: 1; }
}


/* Explicit spacing for hero icon and two-line copy */
#mxe-event .hero-kicker { column-gap: 0; }
#mxe-event .hero-kicker > .icon { display: block; flex: 0 0 42px; margin-right: 16px; }
#mxe-event .hero-kicker-copy { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; row-gap: 5px; }
#mxe-event .hero-kicker-copy > strong, #mxe-event .hero-kicker-copy > small { display: block; }
#mxe-event .hero-presenter { column-gap: 0; }
#mxe-event .hero-presenter > .icon { display: block; flex: 0 0 31px; margin-right: 12px; }
#mxe-event .hero-presenter > span { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; row-gap: 4px; }
#mxe-event .hero-presenter > span > strong, #mxe-event .hero-presenter > span > small { display: block; }
#mxe-event .hero-presenter > span > small { margin-top: 0; }
@media (max-width: 760px) {
  #mxe-event .hero-kicker > .icon { flex-basis: 36px; margin-right: 12px; }
}

@media (max-width: 600px) {
  #mxe-event .hero-content.wrap { width: calc(100% - 2 * var(--gutter)); max-width: calc(100% - 2 * var(--gutter)); min-width: 0; }
  #mxe-event .hero-copy { width: 100%; max-width: 100%; min-width: 0; }
  #mxe-event .hero h1 { display: block; width: 100%; max-width: 100%; min-width: 0; white-space: normal !important; overflow-wrap: anywhere; word-break: normal; font-size: clamp(30px, 8vw, 34px); }
  #mxe-event .hero-intro { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
  #mxe-event .hero-presenter { display: flex; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  #mxe-event .hero-presenter > span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
  #mxe-event .hero-meta { width: 100%; min-width: 0; }
  #mxe-event .hero-meta > li { min-width: 0; overflow-wrap: anywhere; }
  #mxe-event .hero-actions { width: 100%; min-width: 0; }
  #mxe-event .hero-actions .button { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; white-space: normal; }
  #mxe-event .header-row { width: 100%; max-width: 100%; padding-inline: var(--gutter); gap: 10px; }
  #mxe-event .site-nav { min-width: 0; flex: 0 1 auto; }
  #mxe-event .button--signup { min-width: 0; max-width: 150px; flex-shrink: 1; gap: 7px; padding-inline: 9px; font-size: 11px; white-space: nowrap; }
  #mxe-event { overflow-x: clip; }
}


/* Hero viewport overflow guard */
@media (max-width: 600px) {
  #mxe-event .hero { width: 100vw; max-width: 100vw; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  #mxe-event .hero-content.wrap { width: calc(100vw - 2 * var(--gutter)) !important; max-width: calc(100vw - 2 * var(--gutter)) !important; margin-inline: auto; padding-inline: 0; }
  #mxe-event .hero-copy { width: 100%; max-width: 100%; min-width: 0; }
  #mxe-event .hero h1 { width: 100%; max-width: 100%; min-width: 0; white-space: normal !important; overflow-wrap: anywhere; text-wrap: wrap; }
  #mxe-event .hero-intro { width: 100% !important; max-width: 100% !important; min-width: 0; }
  #mxe-event .hero-presenter { width: 100% !important; max-width: 100% !important; min-width: 0; }
  #mxe-event .hero-meta, #mxe-event .hero-actions { width: 100%; max-width: 100%; min-width: 0; }
  #mxe-event .header-row.wrap { width: calc(100vw - 2 * var(--gutter)) !important; max-width: calc(100vw - 2 * var(--gutter)) !important; margin-inline: auto; padding-inline: 0; }
  #mxe-event .site-nav { margin-left: auto; }
  #mxe-event .brand { flex: 0 0 auto; }
  #mxe-event .brand img { width: clamp(120px, 35vw, 137px); }
  #mxe-event .button--signup { max-width: 140px; flex: 0 1 auto; padding-inline: 7px; gap: 6px; }
}


/* Hero visual review refinements */
@media (min-width: 761px) {
  #mxe-event .hero-media img { object-position: center 35%; }
  #mxe-event .hero-media::after {
    background: linear-gradient(90deg, #061827 0%, #061827f7 23%, #061827ef 40%, #061827d8 53%, #06182762 66%, transparent 78%),
                linear-gradient(0deg, #061827d1, transparent 25%);
  }
}
@media (max-width: 600px) {
  #mxe-event .hero-content { padding: calc(clamp(300px, 100vw, 480px) - 24px) 0 28px; }
  #mxe-event .hero-kicker { margin-bottom: 10px; }
  #mxe-event .hero h1 { margin-bottom: 11px; }
  #mxe-event .hero-intro { margin-bottom: 10px; }
  #mxe-event .hero-presenter { padding-block: 7px; }
  #mxe-event .hero-meta { margin: 12px 0; gap: 9px 8px; }
  #mxe-event .hero-actions .button { min-height: 54px; }
}


/* Final mobile annotation transition and desktop CTA emphasis */
@media (min-width: 761px) {
  #mxe-event .hero-actions .button { min-height: 64px; padding: 16px 30px; font-size: 16px; box-shadow: 0 10px 26px #d4ac3050; }
}
@media (max-width: 600px) {
  #mxe-event .hero-media::after { background: linear-gradient(0deg, #061827 0%, #061827fa 19%, #061827e8 42%, #06182782 62%, transparent 82%); }
}


/* AECOMF logo as the fourth item in the two-column event details grid */
@supports (mask-mode: luminance) {
  #mxe-event .hero-meta .aecomf-logo {
    mask-image: url("aecomf-logo.png?v=20261118-aval-academico");
    mask-mode: luminance;
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
  }
}
