/* =========================================================
   SITRAK — sistema visual (inspiración editorial tipo Porsche)
   Cambia aquí colores y tipografía oficiales de la marca.
   ========================================================= */
:root {
	--sx-black: #0b0c0e;
	--sx-white: #ffffff;
	--sx-bg-soft: #eff0f2;
	--sx-text: #0b0c0e;
	--sx-muted: #63666b;
	--sx-line: #d9dadd;
	--sx-footer: #0e0f12;
	--sx-accent: #0b0c0e;          /* color de marca pendiente */
	--sx-ok: #1e7a46;
	--sx-err: #b3261e;
	--sx-font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
	--sx-radius: 4px;
	--sx-radius-lg: 12px;
	--sx-pad: clamp(16px, 4vw, 64px);
	--sx-maxw: 1760px;
	--sx-ease: cubic-bezier(.25, .1, .25, 1);
	--sx-header-h: 76px;
}

/* ---------- Base ---------- */
body.sx { margin: 0; font-family: var(--sx-font); color: var(--sx-text); background: var(--sx-white); -webkit-font-smoothing: antialiased; line-height: 1.5; }
body.sx.sx-solid { padding-top: var(--sx-header-h); }
.sx img { max-width: 100%; height: auto; }
.sx a { color: inherit; }
.sx h1, .sx h2, .sx h3, .sx h4,
.sx .elementor-heading-title { font-family: var(--sx-font); font-weight: 400; letter-spacing: -.01em; color: inherit; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.sx-skip:focus { clip: auto; width: auto; height: auto; z-index: 999; background: #fff; padding: 12px; top: 8px; left: 8px; }
.sx-muted { color: var(--sx-muted); }
:focus-visible { outline: 2px solid #3d7dff; outline-offset: 2px; }

/* Estructura Elementor */
.sx .elementor-widget-wrap > .elementor-element, .sx .elementor-widget-wrap > .elementor-section { width: 100%; min-width: 0; }
.sx .sx-hero > .elementor-container, .sx .sx-banner > .elementor-container { width: 100%; max-width: none; margin: 0; }
.sx .sx-hscroll .sx-track { width: 100%; min-width: 0; overflow: hidden; }
/* Anchura máxima en secciones "boxed" */
.sx .elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--sx-maxw); }
.sx .sx-sec { padding: clamp(56px, 8vw, 120px) var(--sx-pad); }
.sx .sx-sec--tight { padding-top: clamp(24px, 3vw, 48px); padding-bottom: clamp(24px, 3vw, 48px); }
.sx .sx-sec--grey { background: var(--sx-bg-soft); }
.sx .sx-sec--dark { background: var(--sx-black); color: var(--sx-white); }
.sx .sx-sec > .elementor-container > .elementor-column > .elementor-element-populated { padding: 0; }
.sx .sx-sec .elementor-inner-section > .elementor-container { margin-left: calc(clamp(8px, 1vw, 16px) * -1); margin-right: calc(clamp(8px, 1vw, 16px) * -1); width: auto; }
.sx .sx-sec .elementor-inner-section > .elementor-container > .elementor-column > .elementor-element-populated { padding: clamp(8px, 1vw, 16px); }
.sx .sx-sec .elementor-inner-section > .elementor-container > .elementor-column.sx-card--box > .elementor-element-populated { padding: 0; margin: clamp(8px, 1vw, 16px); }

/* Títulos */
.sx .elementor-heading-title a { text-decoration: none; color: inherit; }
.sx .elementor-heading-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sx .sx-h1 .elementor-heading-title { font-size: clamp(38px, 6vw, 84px); line-height: 1.04; }
.sx .sx-h2 .elementor-heading-title { font-size: clamp(28px, 3.8vw, 56px); line-height: 1.1; }
.sx .sx-h3 .elementor-heading-title { font-size: clamp(22px, 2vw, 32px); line-height: 1.2; }
.sx .sx-eyebrow .elementor-heading-title { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); }
.sx .sx-lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--sx-muted); max-width: 760px; }
.sx .sx-center { text-align: center; }
.sx .sx-center .sx-lead, .sx .sx-lead.sx-center { margin-inline: auto; }
.sx .sx-pending, .sx .sx-pending p { color: var(--sx-muted); font-style: italic; }
.sx .sx-pending p::before { content: "● "; color: #d39b00; font-style: normal; }

/* ---------- Botones (Elementor + tema) ---------- */
.sx .elementor-button, .sx-btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: var(--sx-radius);
	font-family: var(--sx-font); font-size: 16px; font-weight: 400; line-height: 1.3; border: 2px solid transparent;
	background: var(--sx-black); color: var(--sx-white); text-decoration: none; cursor: pointer; transition: background .25s var(--sx-ease), color .25s, border-color .25s;
}
.sx .elementor-button:hover, .sx-btn:hover { background: #2b2d31; color: var(--sx-white); }
.sx .sx-btn-light .elementor-button, .sx-btn--light { background: rgba(255,255,255,.92); color: var(--sx-black); backdrop-filter: blur(8px); }
.sx .sx-btn-light .elementor-button:hover, .sx-btn--light:hover { background: #fff; color: var(--sx-black); }
.sx .sx-btn-ghost .elementor-button, .sx-btn--ghost { background: transparent; color: var(--sx-black); border-color: var(--sx-black); }
.sx .sx-btn-ghost .elementor-button:hover, .sx-btn--ghost:hover { background: var(--sx-black); color: #fff; }
.sx .sx-btn-ghost-light .elementor-button { background: transparent; color: #fff; border-color: #fff; }
.sx .sx-btn-ghost-light .elementor-button:hover { background: #fff; color: var(--sx-black); }
.sx .sx-link .elementor-button { background: none; color: inherit; padding: 6px 0; border: 0; font-weight: 600; }
.sx .sx-link .elementor-button::before { content: "›"; font-size: 22px; line-height: 1; margin-right: 6px; transition: transform .2s var(--sx-ease); display: inline-block; }
.sx .sx-link .elementor-button:hover { background: none; color: inherit; }
.sx .sx-link .elementor-button:hover::before { transform: translateX(4px); }
.sx .is-disabled .elementor-button, .sx .elementor-button.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- Imágenes con proporción fija ---------- */
.sx [class*="sx-r"] .elementor-image img, .sx [class*="sx-r"] img { width: 100%; object-fit: cover; display: block; }
.sx .sx-r169 img { aspect-ratio: 16 / 9; }
.sx .sx-r54 img  { aspect-ratio: 5 / 4; }
.sx .sx-r43 img  { aspect-ratio: 4 / 3; }
.sx .sx-r11 img  { aspect-ratio: 1 / 1; }
.sx .sx-r916 img { aspect-ratio: 9 / 16; }
.sx .sx-r219 img { aspect-ratio: 21 / 9; }
.sx .sx-round img, .sx .sx-round { border-radius: var(--sx-radius-lg); overflow: hidden; }
.sx .sx-zoom { overflow: hidden; border-radius: var(--sx-radius-lg); }
.sx .sx-zoom img { transition: transform .7s var(--sx-ease); }
.sx .sx-card:hover .sx-zoom img { transform: scale(1.05); }

/* ---------- Portada / presentación visual ---------- */
.sx .sx-hero { display: flex; flex-direction: column; justify-content: flex-end; position: relative; color: #fff; overflow: hidden; background-color: #1b1c1f; background-size: cover; background-position: center; }
.sx .sx-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 52%, rgba(0,0,0,.62) 100%); }
.sx .sx-hero > .elementor-container { position: relative; z-index: 2; align-items: flex-end; padding: 0 var(--sx-pad) clamp(40px, 9vh, 96px); }
.sx .sx-hero .elementor-heading-title, .sx .sx-hero .elementor-text-editor, .sx .sx-hero p { color: #fff; }
.sx .sx-hero .sx-lead { color: rgba(255,255,255,.88); }
.sx .sx-hero--full { min-height: 100vh; }
.sx .sx-hero--tall { min-height: 78vh; }
.sx .sx-hero--mid { min-height: 62vh; }
.sx .sx-hero--center { justify-content: center; }
.sx .sx-hero--center > .elementor-container { align-items: center; text-align: center; }
.sx .sx-hero--center .sx-lead { margin-inline: auto; }
.sx .sx-hero .elementor-background-video-container { z-index: 0; }
.sx-video-toggle { position: absolute; right: var(--sx-pad); bottom: clamp(40px, 9vh, 96px); z-index: 3; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.7); background: rgba(0,0,0,.25); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); }
.sx-video-toggle svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Tarjetas ---------- */
.sx .sx-cards .elementor-container { flex-wrap: wrap; }
.sx .sx-card > .elementor-widget-wrap { align-content: flex-start; gap: 6px; }
.sx .sx-card--box > .elementor-widget-wrap { background: var(--sx-bg-soft); border-radius: var(--sx-radius-lg); overflow: hidden; padding-bottom: 24px !important; }
.sx .sx-card--box .elementor-widget:not(.sx-zoom) { padding: 0 24px; }
.sx .sx-card .sx-zoom { margin-bottom: 14px; }
.sx .sx-card .elementor-widget { margin-bottom: 0 !important; width: 100%; }
.sx .sx-card .sx-h3 .elementor-heading-title { margin: 4px 0; }
.sx .sx-card .elementor-text-editor p:last-child { margin-bottom: 8px; }
.sx .sx-tag .elementor-heading-title { display: inline-block; font-size: 13px; padding: 3px 10px; border-radius: 4px; background: #fff; color: var(--sx-text); }

/* ---------- Carrusel horizontal (tipo Porsche) ---------- */
.sx .sx-hscroll { position: relative; }
.sx .sx-hscroll .sx-track > .elementor-container { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: clamp(16px, 2vw, 32px); }
.sx .sx-hscroll .sx-track > .elementor-container::-webkit-scrollbar { display: none; }
.sx .sx-hscroll .sx-track > .elementor-container > .elementor-column { flex: 0 0 min(78vw, 560px); width: auto !important; scroll-snap-align: start; }
.sx-hs-ctrl { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }
.sx-hs-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sx-line); background: #fff; font-size: 22px; cursor: pointer; transition: background .2s; }
.sx-hs-ctrl button:hover { background: var(--sx-bg-soft); }
.sx-hs-ctrl button[disabled] { opacity: .35; cursor: default; }

/* ---------- Banner editorial ---------- */
.sx .sx-banner { display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; border-radius: var(--sx-radius-lg); color: #fff; background-size: cover; background-position: center; background-color: #222; min-height: 520px; }
.sx .sx-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,0) 65%); z-index: 1; }
.sx .sx-banner > .elementor-container { position: relative; z-index: 2; align-items: flex-end; padding: clamp(24px, 4vw, 56px); }
.sx .sx-banner .elementor-heading-title, .sx .sx-banner p { color: #fff; }

/* ---------- Lista minimalista (Legal, próximos eventos) ---------- */
.sx-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sx-line); }
.sx-list li { border-bottom: 1px solid var(--sx-line); }
.sx-list a, .sx-list .sx-list__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: clamp(18px, 1.6vw, 24px); text-decoration: none; }
.sx-list a::after { content: "›"; font-size: 28px; transition: transform .2s; }
.sx-list a:hover::after { transform: translateX(4px); }
.sx-list small { display: block; color: var(--sx-muted); font-size: 15px; }

/* ---------- Mosaico editorial ---------- */
.sx .sx-mosaic .gallery { display: grid !important; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.sx .sx-mosaic .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.sx .sx-mosaic .gallery-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.sx .sx-mosaic .gallery-item:nth-child(6n+4) { grid-row: span 2; }
.sx .sx-mosaic .gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 0 !important; }
.sx .sx-mosaic .gallery-icon, .sx .sx-mosaic .gallery-icon a { height: 100%; display: block; }

/* ---------- Página minimalista (misión/visión) ---------- */
.sx .sx-minimal .elementor-heading-title { font-size: clamp(32px, 4.5vw, 64px); }
.sx .sx-minimal .elementor-text-editor { font-size: clamp(19px, 1.6vw, 26px); line-height: 1.45; max-width: 980px; }

/* ---------- Tablas de especificaciones ---------- */
.sx table.sx-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.sx table.sx-table th, .sx table.sx-table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--sx-line); vertical-align: top; }
.sx table.sx-table th { font-weight: 600; width: 40%; }
.sx .elementor-accordion .elementor-accordion-item { border: 0; border-bottom: 1px solid var(--sx-line); }
.sx .elementor-accordion .elementor-tab-title { padding: 20px 0; font-size: 20px; font-weight: 400; }
.sx .elementor-accordion .elementor-tab-content { padding: 0 0 20px; border: 0; }
.sx .elementor-tabs .elementor-tabs-wrapper { display: flex; gap: 8px; }
.sx .elementor-tabs .elementor-tab-desktop-title { border: 1px solid var(--sx-line) !important; border-radius: 999px; padding: 10px 22px; font-weight: 400; }
.sx .elementor-tabs .elementor-tab-desktop-title.elementor-active { background: var(--sx-black); color: #fff; border-color: var(--sx-black) !important; }
.sx .elementor-tabs .elementor-tab-desktop-title::before, .sx .elementor-tabs .elementor-tab-desktop-title::after { display: none !important; }
.sx .elementor-tabs .elementor-tabs-content-wrapper { border: 0 !important; }
.sx .elementor-tabs .elementor-tab-content { border: 0 !important; padding: 32px 0 0; }

/* ---------- Selector de aplicaciones (fichas de modelo) ---------- */
.sx .sx-app-media { display: none; }
.sx .sx-app-media.is-active { display: block; animation: sxFade .5s var(--sx-ease); }
.sx .sx-app-detail { display: none !important; }
.sx .sx-app-detail.is-active { display: block !important; animation: sxFade .5s var(--sx-ease); }
.sx .sx-app-thumbs > .elementor-container { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px; padding: 16px 0 4px; }
.sx .sx-app-thumbs > .elementor-container > .elementor-column { flex: 0 0 148px; width: 148px !important; cursor: pointer; }
.sx .sx-app-thumb > .elementor-widget-wrap { border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 4px !important; transition: border-color .2s; }
.sx .sx-app-thumb.is-active > .elementor-widget-wrap { border-color: var(--sx-black); }
.sx .sx-app-thumb img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; width: 100%; }
.sx .sx-app-thumb .elementor-heading-title { font-size: 14px !important; text-align: center; margin-top: 6px; }
.sx .sx-app-thumb .elementor-widget { margin-bottom: 0 !important; }
.sx-app-current { font-size: 15px; color: var(--sx-muted); margin: 0 0 8px; }
@keyframes sxFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Encabezado ---------- */
.sx-header { position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--sx-header-h); color: var(--sx-black); background: #fff; box-shadow: 0 1px 0 var(--sx-line); transition: background .3s var(--sx-ease), color .3s, box-shadow .3s; }
body.admin-bar .sx-header { top: 32px; }
body.sx-over .sx-header:not(.is-solid) { background: transparent; color: #fff; box-shadow: none; }
.sx-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; padding: 0 var(--sx-pad); }
.sx-header__menu { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; font: inherit; font-size: 16px; cursor: pointer; justify-self: start; padding: 8px 0; }
.sx-burger { display: grid; gap: 6px; width: 22px; }
.sx-burger i { display: block; height: 2px; background: currentColor; }
.sx-header__logo { justify-self: center; }
.sx-header__logo img { max-height: 28px; width: auto; display: block; }
body.sx-over .sx-header:not(.is-solid) .sx-header__logo img { filter: brightness(0) invert(1); }
.sx-wordmark { font-weight: 700; letter-spacing: .38em; padding-left: .38em; font-size: clamp(15px, 1.5vw, 21px); text-decoration: none; text-transform: uppercase; }
.sx-header__actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.sx-header__link { text-decoration: none; font-size: 16px; }
.sx-icon svg, .sx-drawer__close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; display: block; }

/* ---------- Menú lateral ---------- */
.sx-drawer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.sx-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(440px, 100%); background: #fff; color: var(--sx-black); padding: 20px 32px 40px; transform: translateX(-100%); transition: transform .45s var(--sx-ease); z-index: 2; overflow-y: auto; }
.sx-drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .45s; }
.sx-drawer.is-open { pointer-events: auto; }
.sx-drawer.is-open .sx-drawer__panel { transform: none; }
.sx-drawer.is-open .sx-drawer__backdrop { opacity: 1; }
.sx-drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; min-height: 44px; }
.sx-drawer__close { margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; color: inherit; }
.sx-drawer__back { background: none; border: 0; font: inherit; cursor: pointer; padding: 8px 0; }
.sx-drawer ul { list-style: none; margin: 0; padding: 0; }
.sx-drawer__item { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 14px 0; font: inherit; font-size: 22px; background: none; border: 0; border-bottom: 1px solid var(--sx-line); text-align: left; cursor: pointer; color: inherit; text-decoration: none; }
.sx-drawer__item:hover { color: var(--sx-muted); }
.sx-drawer__item i { font-style: normal; font-size: 26px; }
.sx-drawer__overview { display: none; }
.sx-drawer .sx-sub { display: none; }
.sx-drawer .is-sub-open > .sx-sub { display: block; }
.sx-drawer .is-sub-open > .sx-drawer__overview { display: block; font-size: 16px; padding: 4px 0 12px; color: var(--sx-muted); text-decoration: underline; }
.sx-drawer .is-sub-open > .sx-drawer__item { font-size: 30px; border: 0; pointer-events: none; }
.sx-drawer .is-sub-open > .sx-drawer__item i { display: none; }
.sx-drawer.is-deep .sx-drawer__list > li:not(.is-sub-open),
.sx-drawer .is-sub-open > .sx-sub > li.is-hidden { display: none; }
.sx-drawer .sx-sub .sx-drawer__item { font-size: 19px; }

/* ---------- Pie de página ---------- */
.sx-footer { background: var(--sx-footer); color: #fff; padding: 64px var(--sx-pad) 32px; }
.sx-footer a { color: #c9cace; text-decoration: none; }
.sx-footer a:hover { color: #fff; }
.sx-footer__top { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #2a2b30; }
.sx-footer__logo .sx-wordmark { color: #fff; }
.sx-footer__logo img { max-height: 28px; width: auto; filter: brightness(0) invert(1); }
.sx-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.sx-footer__menu > li > a { color: #fff; font-weight: 600; font-size: 17px; display: block; margin-bottom: 14px; }
.sx-footer__menu .sub-menu { list-style: none; padding: 0; margin: 0; }
.sx-footer__menu .sub-menu li { margin-bottom: 10px; }
.sx-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #2a2b30; font-size: 14px; color: #8c8d92; }
.sx-footer__bottom p { margin: 0; }
.sx-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Formularios ---------- */
.sx-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 900px; }
.sx-form--narrow { max-width: 640px; }
.sx-form .sx-field { display: flex; flex-direction: column; gap: 6px; }
.sx-form .sx-field--full { grid-column: 1 / -1; }
.sx-form label { font-size: 14px; color: var(--sx-muted); }
.sx-form label .req { color: var(--sx-err); }
.sx-form input[type=text], .sx-form input[type=email], .sx-form input[type=tel], .sx-form input[type=number], .sx-form select, .sx-form textarea {
	font: inherit; font-size: 16px; padding: 14px 14px; border: 1px solid #b9bbc0; border-radius: var(--sx-radius); background: #fff; color: var(--sx-black); width: 100%; box-sizing: border-box; }
.sx-form textarea { min-height: 130px; resize: vertical; }
.sx-form input:focus, .sx-form select:focus, .sx-form textarea:focus { border-color: var(--sx-black); outline: none; box-shadow: 0 0 0 1px var(--sx-black); }
.sx-form .is-invalid { border-color: var(--sx-err) !important; }
.sx-form .sx-err-msg { color: var(--sx-err); font-size: 13px; }
.sx-form .sx-consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--sx-muted); }
.sx-form .sx-consent input { margin-top: 3px; }
.sx-form .sx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sx-form .sx-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sx-form .sx-btn[disabled] { opacity: .6; cursor: wait; }
.sx-form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--sx-radius); font-size: 15px; }
.sx-form-status.is-ok { background: #e6f4ec; color: var(--sx-ok); }
.sx-form-status.is-err { background: #fbeaea; color: var(--sx-err); }
.sx-form-status:empty { display: none; }
.sx-form-note { grid-column: 1 / -1; font-size: 13px; color: var(--sx-muted); margin: 0; }

/* ---------- Centros de servicio ---------- */
.sx-centers__filters { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sx-centers__filters select { font: inherit; padding: 12px 14px; border: 1px solid #b9bbc0; border-radius: var(--sx-radius); min-width: 240px; background: #fff; }
.sx-centers__wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; }
.sx-centers__list { display: grid; gap: 12px; max-height: 620px; overflow-y: auto; padding-right: 4px; }
.sx-centers__map { min-height: 620px; border-radius: var(--sx-radius-lg); overflow: hidden; background: var(--sx-bg-soft); }
.sx-center-card { background: var(--sx-bg-soft); border-radius: var(--sx-radius-lg); padding: 20px 22px; }
.sx-center-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 400; }
.sx-center-card p { margin: 0 0 4px; font-size: 15px; color: var(--sx-muted); }
.sx-center-card button { margin-top: 10px; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.sx-center-card.is-active { outline: 2px solid var(--sx-black); }
.sx-empty { padding: 32px; background: var(--sx-bg-soft); border-radius: var(--sx-radius-lg); color: var(--sx-muted); text-align: center; }

/* ---------- Eventos ---------- */
.sx-events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.sx-event-card { background: none; border: 0; padding: 0; text-align: left; font: inherit; cursor: pointer; color: inherit; }
.sx-event-card .sx-thumb { aspect-ratio: 16 / 9; border-radius: var(--sx-radius-lg); overflow: hidden; background: var(--sx-bg-soft); margin-bottom: 12px; }
.sx-event-card .sx-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--sx-ease); }
.sx-event-card:hover img { transform: scale(1.05); }
.sx-event-card h3 { font-size: 22px; font-weight: 400; margin: 0; }
.sx-event-card small { color: var(--sx-muted); }
.sx-event-card.is-active h3 { text-decoration: underline; text-underline-offset: 6px; }
.sx-event-panel { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--sx-line); }
.sx-event-panel > div { display: none; }
.sx-event-panel > div.is-active { display: block; animation: sxFade .5s; }
.sx-event-panel h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 400; margin: 0 0 8px; }
.sx-event-panel .sx-video { aspect-ratio: 16 / 9; margin: 24px 0; }
.sx-event-panel .sx-video iframe { width: 100%; height: 100%; border: 0; border-radius: var(--sx-radius-lg); }

/* ---------- WhatsApp / redes / horario ---------- */
.sx-wa { display: inline-flex; align-items: center; gap: 10px; background: #1f8f4e; color: #fff !important; padding: 15px 26px; border-radius: var(--sx-radius); text-decoration: none; font-size: 17px; }
.sx-wa:hover { background: #17733e; }
.sx-wa svg { width: 22px; height: 22px; fill: currentColor; }
.sx-social { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0; }
.sx-social a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--sx-line); display: grid; place-items: center; text-decoration: none; transition: background .2s, color .2s; }
.sx-social a:hover { background: var(--sx-black); color: #fff; }
.sx-social svg { width: 20px; height: 20px; fill: currentColor; }
.sx-hours { font-size: 18px; white-space: pre-line; }

/* ---------- Visor PDF ---------- */
.sx-pdf { position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,.7); display: grid; place-items: center; padding: 24px; }
.sx-pdf[hidden] { display: none; }
.sx-pdf__box { background: #fff; width: min(1100px, 100%); height: min(90vh, 1000px); border-radius: var(--sx-radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.sx-pdf__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--sx-line); }
.sx-pdf__close { background: none; border: 0; font-size: 22px; cursor: pointer; }
.sx-pdf iframe { flex: 1; border: 0; width: 100%; }

/* ---------- Páginas sin Elementor ---------- */
.sx-page { padding: clamp(56px, 8vw, 120px) var(--sx-pad); max-width: 1100px; margin: 0 auto; }
.sx-entry__title { font-size: clamp(34px, 4.5vw, 60px); font-weight: 400; margin: 0 0 24px; }

/* ---------- Animación de entrada ---------- */
.sx-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--sx-ease), transform .8s var(--sx-ease); }
.sx-reveal.is-visible { opacity: 1; transform: none; }
.elementor-editor-active .sx-reveal { opacity: 1; transform: none; }
.elementor-editor-active .sx-app-media, .elementor-editor-active .sx-app-detail { display: block !important; outline: 1px dashed #c9c9c9; }
@media (prefers-reduced-motion: reduce) { .sx-reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.sx-footer__menu { grid-template-columns: repeat(2, 1fr); }
	.sx-events__grid { grid-template-columns: repeat(2, 1fr); }
	.sx-centers__wrap { grid-template-columns: 1fr; }
	.sx-centers__map { min-height: 380px; order: -1; }
	.sx .sx-mosaic .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
	:root { --sx-header-h: 64px; }
	body.admin-bar .sx-header { top: 46px; }
	.sx-header__label, .sx-header__link { display: none; }
	.sx .sx-hero--full { min-height: 88vh; }
	.sx .sx-hero--tall, .sx .sx-hero--mid { min-height: 66vh; }
	.sx-form { grid-template-columns: 1fr; }
	.sx-footer__menu, .sx-events__grid { grid-template-columns: 1fr; }
	.sx .sx-mosaic .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
	.sx .sx-banner { min-height: 420px; }
	.sx .sx-banner::after { background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0) 70%); }
	.sx .sx-cards.sx-mscroll > .elementor-container { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; }
	.sx .sx-cards.sx-mscroll > .elementor-container > .elementor-column { flex: 0 0 82%; scroll-snap-align: start; }
}
