:root {
  --color-primary: #17324d;
  --color-secondary: #42627d;
  --color-accent: #d9a441;
  --color-background: #f5f7f9;
  --color-page: color-mix(in srgb, var(--color-background) 65%, #f7f0df);
  --color-text: #17212b;
  --color-error: #9f1d20;
  --color-success: #176b42;
  --paper: #fffefa;
  --muted: #54636b;
  --line: #d5d8d2;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}
.summary-congress-art { position: relative; height: 100px; overflow: hidden; margin-bottom: 1.8rem; border-radius: 60px 60px 4px 4px; background: radial-gradient(circle at 72% 36%, #d9a441 0 19px, transparent 20px), linear-gradient(162deg, #eae4d1 52%, #b4c8bf 53% 65%, #779e97 66% 78%, #17324d 79%); }
.summary-congress-art span { position: absolute; left: 1rem; top: 2rem; color: #17324d; font-size: .6rem; letter-spacing: .15em; }
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 2rem; overflow-x: clip; }
body { margin: 0; background: var(--color-background); background: var(--color-page); color: var(--color-text); font: 1rem/1.65 var(--sans); font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { color: var(--color-primary); text-underline-offset: .23em; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 5px; }
[hidden] { display: none !important; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 5rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -6rem; padding: .75rem 1rem; background: white; z-index: 10; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-name { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; line-height: 1.3; }
.brand-mark { font: 2.8rem/1 var(--serif); color: var(--color-primary); }
.brand-mark span { color: var(--color-accent); }
.brand-text { font-size: .95rem; font-weight: 650; letter-spacing: -.02em; }
.brand-text small { display: block; margin-top: .3rem; font-size: .57rem; letter-spacing: .18em; font-weight: 500; }
.site-logo { width: auto; max-width: 230px; max-height: 64px; object-fit: contain; }
.site-logo-default { width: 260px; max-width: 260px; max-height: 72px; }
.language-nav { display: flex; gap: .2rem; }
.language-nav a { min-height: 44px; min-width: 44px; display: grid; place-content: center; border-radius: 50%; text-decoration: none; font-size: .76rem; font-weight: 650; }
.language-nav a[aria-current] { border: 1px solid var(--color-primary); }
.language-nav a:hover { background: #e6e8e1; }
.main-content { min-height: 65vh; padding-bottom: 4rem; }
.hero { display: grid; grid-template-columns: minmax(23rem, .78fr) minmax(0, 1.35fr); gap: 0; padding-block: 4rem; align-items: stretch; }
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 34rem; padding: 2rem 2rem 2rem 0; }
.eyebrow { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--color-secondary); margin: 0 0 1.1rem; }
.hero .eyebrow { display: flex; gap: .65rem; align-items: flex-start; max-width: 32rem; }
.eyebrow-line { flex: 0 0 22px; height: 1px; background: var(--color-accent); }
.hero-eyebrow .eyebrow-line { margin-top: .55rem; }
.hero-eyebrow-copy { display: flex; flex-direction: column; gap: .28rem; font-size: .75rem; line-height: 1.25; }
.hero-eyebrow-copy strong { font-size: 1rem; line-height: 1.05; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--color-primary); letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(4rem, 8.4vw, 7.8rem); line-height: .95; margin: 1.6rem 0 1.6rem; }
h1 em { font-weight: 400; color: var(--color-secondary); }
.hero-congress-title { margin: 1.2rem 0 1.5rem; line-height: 0; letter-spacing: 0; }
.hero-congress-logo { display: block; width: min(100%, 19rem); height: auto; object-fit: contain; object-position: left center; }
h2 { font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.1rem; letter-spacing: -.025em; font-weight: 650; margin-bottom: .65rem; }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--color-primary); max-width: 33rem; }
.lead p { margin-bottom: 1rem; }
.hero-description { max-width: 28rem; font-size: .95rem; color: var(--muted); margin-bottom: 1.7rem; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .5rem; font-size: .86rem; font-weight: 650; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero-visual { --hero-right-bleed: calc(max(2.5rem, calc((100vw - 1160px) / 2)) + 5rem); position: relative; z-index: 1; width: calc(100% + var(--hero-right-bleed)); min-width: 0; margin-left: -5rem; margin-right: calc(0px - var(--hero-right-bleed)); }
.hero-visual::before { content: ''; position: absolute; inset: 0 auto 0 0; z-index: 2; width: min(46%, 24rem); pointer-events: none; background: linear-gradient(90deg, var(--color-page) 0%, rgb(246 245 240 / .97) 24%, rgb(246 245 240 / .68) 56%, transparent 100%); }
.hero-carousel { position: relative; width: 100%; height: clamp(480px, 38vw, 620px); overflow: hidden; border-radius: 0; background: transparent; box-shadow: none; }
.hero-slides { display: flex; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.55, 0, .1, 1); will-change: transform; }
.hero-slide { flex: 0 0 100%; width: 100%; height: 100%; margin: 0; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carousel-toggle { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffffb8; border-radius: 50%; background: #17324dd9; color: white; font: 700 .85rem/1 var(--sans); cursor: pointer; box-shadow: 0 4px 14px #17324d38; }
.carousel-toggle:hover { background: var(--color-secondary); }
.booking-band { margin-top: 1rem; padding: 2rem 2.4rem; border: 1px solid var(--line); background: var(--paper); display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; gap: 1.5rem; box-shadow: 0 8px 24px #17324d04; }
.booking-band h2 { font-size: 1.65rem; letter-spacing: -.035em; margin-bottom: .5rem; }
.booking-band .eyebrow { font-size: .6rem; margin-bottom: .45rem; }
.booking-band p { margin-bottom: 0; font-size: .8rem; color: var(--muted); }
.booking-price { border-left: 1px solid var(--line); padding-left: 2rem; display: flex; flex-direction: column; }
.price { display: block; font: 2.8rem/1.3 var(--serif); color: var(--color-primary); letter-spacing: -.05em; white-space: nowrap; }
.price small { font: .7rem/1 var(--sans); letter-spacing: .03em; }
.booking-action { text-align: center; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 1.5rem; background: var(--color-primary); color: white; border: 1px solid var(--color-primary); padding: .85rem 1.3rem; text-decoration: none; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .15s; }
.button:hover { background: var(--color-secondary); border-color: var(--color-secondary); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.button-wide { width: 100%; margin-top: 1rem; justify-content: space-between; }
.status-pill { display: inline-block; border: 1px solid var(--line); padding: .38rem .8rem; font-size: .73rem; border-radius: 2rem; color: var(--color-primary); }
.availability { display: block; margin-top: .7rem; font-size: .72rem; color: var(--color-success); }
.unavailable { color: var(--muted); }
.section { padding-block: 4rem; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: .85rem; max-width: 18rem; }
.congress-program .section-heading { max-width: 54rem; margin-inline: auto; text-align: center; }
.congress-program .section-heading > p:not(.eyebrow) { max-width: 48rem; margin-inline: auto; font-size: 1rem; line-height: 1.8; }
.programme-copy-block { max-width: 54rem; margin: 2.5rem auto 0; padding: 2rem clamp(1.5rem, 4vw, 3rem); border-block: 1px solid var(--line); text-align: center; }
.programme-copy-block h3 { margin-bottom: 1rem; font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
.programme-copy-block p { max-width: 49rem; margin: 0 auto .85rem; color: var(--muted); font-size: .95rem; line-height: 1.75; }
.programme-copy-block p:last-child { margin-bottom: 0; }
.programme-spain-copy { margin-top: 3.5rem; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.program-card { border-top: 1px solid var(--color-secondary); padding-top: 1rem; }
.program-image { position: relative; margin: 0 0 1.25rem; overflow: hidden; background: var(--line); aspect-ratio: 3 / 2; }
.program-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.program-card:hover .program-image img { transform: scale(1.025); }
.program-label { display: block; min-height: 2.2rem; color: var(--color-secondary); margin-bottom: .7rem; font-size: .73rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.program-card h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.program-card p { font-size: .92rem; line-height: 1.7; color: var(--muted); max-width: 23rem; margin-bottom: 0; }
.faq-section { display: block; border-bottom: 0; padding-block: 6rem 3rem; }
.faq-section .section-heading { max-width: 46rem; margin: 0 auto 2rem; text-align: center; }
.faq-section .section-heading h2 { font-size: clamp(2.6rem, 4.8vw, 4.1rem); }
.faq-list { max-width: 46rem; margin-inline: auto; }
.faq-list details { border-top: 1px solid var(--line); padding: 1.45rem 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { font-size: 1rem; font-weight: 600; cursor: pointer; padding-right: 1.5rem; position: relative; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; font-size: 1.1rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 1rem 1rem 0 0; font-size: .95rem; line-height: 1.7; color: var(--muted); }
.faq-list details ul { margin: .7rem 1rem 0 1.15rem; padding: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.faq-list details a { font-size: .95rem; }
.site-footer { background: var(--color-primary); color: #ebede8; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; }
.footer-brand { grid-column: 1; justify-self: start; text-align: left; }
.footer-grid p { font-size: .78rem; }
.footer-grid .footer-brand > p:not(.footer-title) { font-size: 1.17rem; }
.footer-grid .footer-title { font: 3.15rem/1.2 var(--serif); letter-spacing: -.04em; margin-bottom: .5rem; }
.footer-grid nav { grid-column: 2; display: flex; flex-direction: column; gap: .65rem; align-items: flex-start; justify-self: end; font-size: .78rem; }
.site-footer a { color: #ebede8; }
.footer-sponsors { margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid #ffffff25; }
.footer-sponsors-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); align-items: end; }
.footer-sponsor-group { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: flex-end; padding: .4rem 0 .8rem; text-align: center; }
.footer-sponsors-label { margin-bottom: 1rem; color: #ebede8; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-sponsor-logo { display: block; height: auto; object-fit: contain; object-position: center; }
.footer-sponsor-logo-congress { width: min(100%, 9rem); filter: brightness(0) invert(1); }
.footer-sponsor-logo-diputacion { width: min(100%, 21rem); filter: brightness(0) invert(1); }
.footer-sponsor-logo-ayuntamiento { width: min(100%, 12.5rem); filter: invert(1) grayscale(1) brightness(5) contrast(2); mix-blend-mode: screen; }
.footer-bottom { border-top: 1px solid #ffffff25; margin-top: 2rem; padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .67rem; color: #c8d2d8; }
.back-link { display: inline-block; font-size: .78rem; margin-top: 2rem; text-decoration: none; }
.checkout-steps { padding: 1.5rem 0; display: flex; gap: 3rem; list-style: none; border-bottom: 1px solid var(--line); margin: 0 0 3rem; color: var(--muted); font-size: .76rem; }
.checkout-steps span { margin-right: .4rem; color: var(--color-secondary); font-family: var(--serif); }
.checkout-steps li[aria-current] { color: var(--color-primary); font-weight: 750; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .8fr); gap: 5rem; align-items: start; }
.page-title { font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1.06; margin: .6rem 0 1.2rem; }
.form-lead { font-size: 1rem; }
fieldset { border: 0; padding: 0; margin: 1.8rem 0 0; min-width: 0; }
legend { font-size: .76rem; font-weight: 700; margin-bottom: 1rem; color: var(--color-primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .4rem; }
.field input, .field select { width: 100%; min-width: 0; min-height: 49px; border: 1px solid #aebbb8; border-radius: 0; background: var(--paper); padding: .6rem .8rem; color: var(--color-text); font-size: 1rem; }
.field input:focus, .field select:focus { border-color: var(--color-primary); }
.field input:disabled { background: #edeee8; }
.field-error input, .field-error select { border-color: var(--color-error); }
.phone-country-group { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem; }
.phone-input { display: flex; align-items: stretch; }
.phone-prefix { display: flex; align-items: center; padding: .6rem .65rem; background: #e9ede8; border: 1px solid #aebbb8; border-right: 0; color: var(--color-primary); font-size: 1rem; }
.phone-input input { flex: 1; }
.consent-intro { font-size: .85rem; color: var(--muted); }
.consent-trigger { display: grid; grid-template-columns: 22px minmax(0, 1fr) 16px; gap: .85rem; align-items: center; width: 100%; margin-bottom: .8rem; padding: 1.1rem; border: 1px solid var(--line); background: var(--paper); color: var(--color-primary); text-align: left; cursor: pointer; font-family: inherit; }
.consent-trigger:hover { border-color: var(--color-secondary); }
.consent-trigger:disabled { opacity: .55; cursor: not-allowed; }
.consent-trigger strong { display: block; font-size: .87rem; font-weight: 600; }
.consent-trigger small { display: block; margin-top: .3rem; font-size: .76rem; color: var(--muted); }
.consent-indicator { width: 22px; height: 22px; border: 1px solid #aebbb8; display: grid; place-items: center; }
.consent-indicator.is-accepted { color: white; background: var(--color-primary); border-color: var(--color-primary); }
.consent-trigger-optional { margin-top: 1.4rem; }
.modal-open { overflow: hidden; }
.consent-dialog { width: min(760px, calc(100vw - 2rem)); max-width: none; max-height: min(90dvh, 900px); margin: auto; padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--color-text); box-shadow: 0 24px 100px #10233555; overflow: hidden; }
.consent-dialog::backdrop { background: #102335a6; backdrop-filter: blur(3px); }
.dialog-shell { display: flex; flex-direction: column; max-height: min(90dvh, 900px); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.8rem; border-bottom: 1px solid var(--line); flex: none; }
.dialog-header > div { flex: 1; min-width: 0; }
.dialog-header .eyebrow { margin-bottom: .4rem; }
.dialog-header h2 { margin: 0; font-size: 2rem; line-height: 1.15; overflow-wrap: anywhere; }
.dialog-close { flex: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--color-primary); font-size: 1.7rem; cursor: pointer; }
.dialog-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem 1.8rem; font-size: .95rem; line-height: 1.7; overflow-wrap: anywhere; }
.legal-end { border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: .8rem; }
.legal-dialog-copy h2, .legal-content h2 { font-size: 1.45rem; margin: 2.4rem 0 .9rem; line-height: 1.2; letter-spacing: -.018em; }
.legal-dialog-copy p, .legal-dialog-copy li, .legal-content p, .legal-content li { line-height: 1.78; }
.legal-dialog-copy li, .legal-content li { margin-bottom: .55rem; }
.dialog-footer { flex: none; padding: 1.2rem 1.8rem; border-top: 1px solid var(--line); background: var(--paper); }
.dialog-footer .help { margin: 0 0 .9rem; }
.dialog-footer .check-field { font-size: .87rem; }
.dialog-footer input:disabled + label { color: var(--muted); }
.dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .78rem; }
.text-button { border: 0; background: transparent; color: var(--color-primary); text-decoration: underline; font: inherit; min-height: 44px; padding: .5rem 0; cursor: pointer; }
.information-options { margin-top: 1.4rem; }
.information-options legend { font-size: .9rem; }
.information-option { display: flex; align-items: center; gap: .8rem; padding: 1rem; margin-bottom: .65rem; border: 1px solid var(--line); cursor: pointer; font-size: .9rem; }
.information-option:has(input:checked) { border-color: var(--color-primary); background: #edf1eb; }
.information-option input { flex: none; width: 18px; height: 18px; accent-color: var(--color-primary); }
.help { font-size: .73rem; line-height: 1.55; color: var(--muted); margin-top: .5rem; margin-bottom: 0; }
.consent-group { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.check-field { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: .7rem; margin-bottom: 1rem; font-size: .8rem; }
.check-field input { width: 18px; height: 18px; margin: .2rem 0 0; accent-color: var(--color-primary); }
.check-field.optional { margin-top: 1.4rem; }
.check-field .errorlist { grid-column: 2; margin: 0; }
.summary { background: var(--paper); border: 1px solid var(--line); padding: 2rem; position: sticky; top: 2rem; }
.summary h2 { font-size: 1.75rem; letter-spacing: -.04em; }
.summary > p { font-size: .86rem; }
.summary dl, .receipt { margin: 1.3rem 0; }
.summary dl div, .receipt div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); font-size: .82rem; }
.summary-breakdown .summary-tax-row dd { max-width: 11rem; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.summary-details { border-top: 1px solid var(--line); margin-top: 1.3rem; padding-top: .3rem; }
.summary-details > div { display: grid; grid-template-columns: 2.1rem 1fr; gap: .7rem; align-items: start; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.summary-detail-index { color: var(--color-secondary); font: 1.15rem/1 var(--serif); }
.summary-details p { margin: 0; font-size: .73rem; line-height: 1.45; color: var(--muted); }
.summary-details strong { display: block; color: var(--color-primary); font-size: .78rem; margin-bottom: .15rem; }
dd { margin: 0; text-align: right; }
.summary .summary-total { font-weight: 700; font-size: 1rem; }
.summary-note { font-size: .78rem !important; color: var(--muted); }
.secure-note { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.5rem; font-size: .73rem !important; }
.secure-note span { display: inline-block; margin-right: .3rem; }
.payment-assurance { display: grid; grid-template-columns: 2rem 1fr; gap: .85rem; align-items: start; margin-top: 1.4rem; padding: 1rem; border: 1px solid var(--line); background: #edf1eb; }
.payment-assurance-mark { color: var(--color-secondary); font: 1.5rem/1 var(--serif); }
.payment-assurance strong { display: block; color: var(--color-primary); font-size: .82rem; margin-bottom: .35rem; }
.payment-assurance p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.message { margin-block: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); background: var(--paper); font-size: .87rem; }
.message p:last-child { margin-bottom: 0; }
.message-warning { border-left: 3px solid var(--color-accent); }
.message-error, .error, .errorlist { color: var(--color-error); }
.message-error { border-left: 3px solid var(--color-error); }
.errorlist { padding-left: 1.1rem; font-size: .76rem; margin-block: .5rem 0; }
.message-error a { color: inherit; }
.status-card { width: min(100%, 680px); margin: 3rem auto; text-align: center; }
.status-card > .lead { margin-inline: auto; font-size: 1.1rem; }
.status-symbol { display: grid; place-content: center; width: 60px; height: 60px; border: 1px solid var(--line); border-radius: 50%; margin: 0 auto 1.5rem; color: var(--color-secondary); font-size: 1.8rem; }
.status-paid .status-symbol { background: #e1e9dc; color: var(--color-success); border-color: #afc4a3; }
.receipt { padding: 1rem 1.5rem; background: var(--paper); border: 1px solid var(--line); text-align: left; }
.receipt div:first-child { border: 0; }
.receipt dd { font-weight: 650; overflow-wrap: anywhere; }
.status-card > .text-link { display: flex; width: fit-content; margin: 1.3rem auto 0; }
.status-card > .button { margin-top: 1rem; }
.legal-content { width: min(70ch, 100%); margin: 4.5rem auto; font-size: 1.02rem; overflow-wrap: anywhere; }
.legal-content h1 { max-width: 18ch; margin-bottom: 2.4rem; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.08; }
.legal-content p { margin-bottom: 1.15rem; }
.legal-content ul { padding-left: 1.35rem; margin-block: .8rem 1.35rem; }
.legal-content a { text-decoration-thickness: .08em; }
@media (max-width: 960px) {
  .container { width: calc(100% - 3rem); }
  .hero { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 3rem; }
  .hero-copy { max-width: 52rem; padding: 0; }
  .hero-visual { --hero-right-bleed: 1.5rem; width: calc(100% + var(--hero-right-bleed)); margin: -.75rem calc(0px - var(--hero-right-bleed)) 0 0; }
  .hero-visual::before { inset: 0 0 auto; width: 100%; height: 34%; background: linear-gradient(180deg, var(--color-page) 0%, rgb(246 245 240 / .82) 42%, transparent 100%); }
  .hero-carousel { height: clamp(320px, 52vw, 480px); }
  .booking-band { padding: 1.5rem; grid-template-columns: 1.1fr 1fr; }
  .booking-action { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: 1rem; }
  .booking-price { padding-left: 1.5rem; }
  .two-column { gap: 2rem; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 2.25rem); }
  .header-inner { min-height: 82px; }
  .brand-text { font-size: .76rem; }
  .brand-text small { font-size: .48rem; }
  .brand-mark { font-size: 2.1rem; }
  .site-name { gap: .5rem; }
  .site-logo { max-width: 150px; }
  .site-logo-default { width: min(190px, 48vw); max-width: min(190px, 48vw); max-height: 58px; }
  .language-nav { gap: 0; }
  .language-nav a { min-width: 36px; font-size: .7rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.5rem 3rem; }
  h1 { font-size: clamp(4.3rem, 20vw, 6.5rem); }
  .hero-visual { --hero-right-bleed: 1.125rem; margin-left: 0; margin-right: calc(0px - var(--hero-right-bleed)); }
  .hero-carousel { height: clamp(240px, 62vw, 340px); }
  .lead { font-size: 1.15rem; }
  .booking-band { grid-template-columns: 1fr; gap: 1.3rem; }
  .booking-price { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .booking-action { flex-direction: column; align-items: stretch; text-align: center; gap: .3rem; }
  .section { padding-block: 3rem; }
  .program-grid { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.5rem; }
  .faq-section { padding-block: 4.5rem 2rem; }
  .program-image { margin-bottom: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; justify-self: start; }
  .footer-grid nav { grid-column: 1; justify-self: start; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .footer-sponsors-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-sponsor-group { padding: 0; }
  .footer-sponsor-logo-congress { width: 8.25rem; }
  .footer-sponsor-logo-diputacion { width: min(100%, 21rem); }
  .footer-sponsor-logo-ayuntamiento { width: min(100%, 12.5rem); }
  .footer-bottom { gap: .4rem; }
  .checkout-steps { gap: 1rem; font-size: .66rem; justify-content: space-between; margin-bottom: 2rem; }
  .checkout-steps span { display: block; margin-bottom: .2rem; }
  .two-column { display: flex; flex-direction: column; gap: 2rem; }
  .two-column > section { width: 100%; }
  .summary { position: static; order: -1; padding: 1.25rem; width: 100%; }
  .summary .eyebrow, .summary-details { display: none; }
  .summary-congress-art { height: 70px; margin-bottom: 1rem; }
  .summary h2 { font-size: 1.35rem; margin-bottom: .6rem; }
  .summary dl { margin-bottom: 0; }
  .summary .summary-total { padding-bottom: 0; }
  .page-title { font-size: 2.8rem; }
  .form-grid { column-gap: .8rem; }
  .phone-country-group { grid-template-columns: 1fr; }
  .consent-dialog { width: calc(100vw - 1rem); max-height: 94dvh; }
  .dialog-shell { max-height: 94dvh; }
  .dialog-header, .dialog-scroll, .dialog-footer { padding: 1rem; }
  .dialog-header h2 { font-size: 1.65rem; }
  .dialog-actions { flex-wrap: wrap; gap: .6rem; }
  .dialog-actions .button { width: 100%; }
  .receipt { padding: .7rem 1rem; }
  .receipt div { font-size: .75rem; }
  .legal-content { margin-block: 2.75rem; font-size: 1rem; }
  .legal-content h1 { margin-bottom: 1.8rem; font-size: clamp(2.35rem, 12vw, 3.2rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .checkout-steps, .button, .status-card > .text-link, .skip-link { display: none !important; }
  .container { width: 100%; }
  .status-card { width: 100%; margin: 0; }
  .page-title { font-size: 28pt; }
  .receipt { break-inside: avoid; }
}

.prebooking-code { margin: 2rem 0; padding: 1.4rem; border: 1px solid var(--line, #d7dbd5); background: #f5f3ec; }
.prebooking-code h2 { font-size: 1.15rem; margin-top: 0; }
.prebooking-code code { display: block; font-size: clamp(1rem, 3.4vw, 1.5rem); letter-spacing: .07em; overflow-wrap: anywhere; user-select: all; }
.prebooking-code p { font-size: .95rem; }
