/* Sistema visual compartido: guía, comercio, eventos y paneles. */
:root {
	--ec-system-ink: #10283b;
	--ec-system-muted: #536476;
	--ec-system-paper: #f7f6f2;
	--ec-system-line: #dce2e3;
	--ec-system-accent: #e65339;
	--ec-system-accent-hover: #c84029;
	--ec-system-focus: #167e9a;
	--ec-system-radius: 14px;
	--ec-system-shadow: 0 18px 48px rgba(16, 40, 59, .1);
	--shell-ink: var(--ec-system-ink);
	--shell-coral: var(--ec-system-accent);
	--shell-paper: var(--ec-system-paper);
	--live-ink: var(--ec-system-ink);
	--live-navy: var(--ec-system-ink);
	--live-coral: var(--ec-system-accent);
	--live-coral-dark: var(--ec-system-accent-hover);
	--catalog-ink: var(--ec-system-ink);
	--catalog-navy: var(--ec-system-ink);
	--catalog-coral: var(--ec-system-accent);
	--catalog-coral-dark: var(--ec-system-accent-hover);
	--event-ink: var(--ec-system-ink);
	--event-coral: var(--ec-system-accent);
	--ec-ink: var(--ec-system-ink);
	--ec-accent: var(--ec-system-accent);
	--admin-bg: var(--ec-system-paper);
	--admin-card: #fff;
	--admin-ink: var(--ec-system-ink);
	--admin-coral: var(--ec-system-accent);
	--member-bg: var(--ec-system-paper);
	--member-ink: var(--ec-system-ink);
	--member-coral: var(--ec-system-accent);
	--provider-navy: var(--ec-system-ink);
	--provider-ink: var(--ec-system-ink);
	--provider-coral: var(--ec-system-accent);
	--provider-soft: var(--ec-system-paper);
}

html { scroll-padding-top: 92px; }
body { -webkit-font-smoothing: antialiased; letter-spacing: 0; }
body ::selection { background: #ffd8cf; color: var(--ec-system-ink); }
body :where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--ec-system-focus) !important;
	outline-offset: 3px;
}
body :where(button, input, select, textarea):disabled,
body :where(button, input, select, textarea)[aria-disabled="true"] { cursor: not-allowed; opacity: .6; }

/* Los títulos, apoyos y etiquetas siguen la misma escala de lectura. */
body:not(.ec-admin):not(.ec-admin-auth):not(.provider-app):not(.provider-auth) main :where(h1, h2, h3) {
	font-weight: 800;
	text-wrap: balance;
}
body:not(.ec-admin):not(.ec-admin-auth):not(.provider-app):not(.provider-auth):not(.ec-carnival-page) main h1 {
	line-height: 1.04;
	letter-spacing: -.035em;
}
body:not(.ec-admin):not(.ec-admin-auth):not(.provider-app):not(.provider-auth) main h2 {
	line-height: 1.12;
	letter-spacing: -.035em;
}
body:not(.ec-admin):not(.ec-admin-auth):not(.provider-app):not(.provider-auth) main h3 {
	line-height: 1.22;
	letter-spacing: -.03em;
}
body:not(.ec-admin):not(.ec-admin-auth):not(.provider-app):not(.provider-auth) main :where(p, li, dd) {
	letter-spacing: 0;
	line-height: 1.65;
}
body main :where(.live-kicker, .catalog-kicker, .ec-events-kicker, .ec-shopping-kicker, .ec-eyebrow, .ec-rio-section-kicker) {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	line-height: 1.35;
}
body main :where(.live-section-note, .catalog-description, .ec-guide-hero__content > p:last-child, .ec-events-hero > div > p:last-child) {
	font-size: clamp(16px, 1.45vw, 19px);
	line-height: 1.65;
}

/* Acciones y formularios: medidas, contraste y estados consistentes. */
body main :where(.ec-ui-button, .live-link-button, .catalog-actions a, .ec-carnival-button, .ec-rally-btn, .ayer-btn, .ec-detail-btn, .ec-rio-btn, .provider-btn, .ec-admin-btn) {
	align-items: center;
	border-radius: 12px;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	gap: 9px;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}
body main :where(button, .ec-ui-button, .live-link-button, .catalog-actions a, .ec-carnival-button, .ec-rally-btn, .ayer-btn, .ec-detail-btn, .ec-rio-btn, .provider-btn, .ec-admin-btn):hover:not(:disabled) {
	box-shadow: 0 8px 22px rgba(16, 40, 59, .12);
}
body :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
	accent-color: var(--ec-system-accent);
	font-size: 15px;
}
body :where(input, select, textarea)::placeholder { color: #68788a; opacity: 1; }
body :where(input, select, textarea)[aria-invalid="true"],
body .has-error :where(input, select, textarea) { border-color: #c74136 !important; }
body :where(input[type="checkbox"], input[type="radio"]) { accent-color: var(--ec-system-accent); }
body :where(label, legend) { line-height: 1.4; }

/* Los espacios de cuenta y gestión usan la misma lectura que la guía. */
body:is(.ec-admin, .ec-admin-auth, .ec-member-page, .ec-member-auth, .provider-app, .provider-auth, .provider-onboarding) :where(h1, h2, h3) {
	font-weight: 800;
	text-wrap: balance;
}
body.ec-admin :where(.ec-admin-form, .ec-admin-panel, .ec-admin-auth__card),
body.provider-app :where(.provider-form-card, .provider-list-card, .provider-readiness),
body.ec-member-page :where(.ec-member-section, .ec-support-form, .ec-support-cases) {
	border-radius: 16px;
}
body:is(.ec-admin, .ec-admin-auth) :where(label, legend),
body:is(.provider-app, .provider-auth, .provider-onboarding) .provider-field > span,
body.ec-member-page .ec-member-form :where(label, legend) {
	font-size: 13px;
	font-weight: 700;
}
body:is(.ec-admin, .ec-admin-auth) :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
body:is(.provider-app, .provider-auth, .provider-onboarding) .provider-field :where(input, select, textarea),
body.ec-member-page .ec-member-form :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
	border-radius: 11px;
	font-size: 14px;
	min-height: 46px;
}
body.provider-app .provider-form-card h3,
body.provider-app .provider-list-card h3 { font-size: 19px; line-height: 1.25; }
body.provider-app .provider-form-card header p,
body.provider-app .provider-list-card header p { font-size: 13px; line-height: 1.55; }
body:is(.provider-app, .provider-auth, .provider-onboarding) .provider-btn { font-size: 13px; min-height: 46px; }
body.ec-member-page .ec-member-kicker { font-size: 11px; }

/* La portada presenta la propuesta antes de pedir una búsqueda. */
.ec-live-home .live-hero__content > .live-hero__intro {
	color: #f0f4f5;
	font-size: clamp(17px, 1.7vw, 21px);
	font-weight: 500;
	line-height: 1.5;
	margin: 18px 0 27px;
	max-width: 650px;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .28);
}
.ec-live-home .live-hero h1 { max-width: 890px; }
.ec-live-home .live-hero__actions a { border-radius: var(--ec-system-radius); }
.ec-live-home .live-section-heading { gap: 28px; }
.ec-live-home .live-section-heading > div:first-child { max-width: 720px; }
.ec-live-home .live-place-grid > *,
.ec-catalog-page .catalog-results article,
.ec-events-page .ec-event-grid article { border-radius: var(--ec-system-radius); }

/* Campos de búsqueda con una señal clara del control activo. */
body :where(.catalog-filter, .ec-events-search form, .ec-shopping-search form, .directory-search):focus-within {
	box-shadow: 0 0 0 3px rgba(22, 126, 154, .16), var(--ec-system-shadow);
}
body :where(.catalog-filter, .ec-events-search form, .ec-shopping-search form, .directory-search) :where(button[type="submit"], button:not([type])) {
	background: var(--ec-system-accent);
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	min-height: 48px;
}
body :where(.catalog-filter, .ec-events-search form, .ec-shopping-search form, .directory-search) :where(button[type="submit"], button:not([type])):hover {
	background: var(--ec-system-accent-hover);
}

@media (max-width: 720px) {
	:root { --ec-system-radius: 12px; }
	html { scroll-padding-top: 72px; }
	.ec-live-home .live-hero__content > .live-hero__intro { font-size: 16px; margin: 12px 0 22px; }
	body main :where(.live-kicker, .catalog-kicker, .ec-events-kicker, .ec-shopping-kicker, .ec-eyebrow) { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	body :where(a, button, input, select, textarea) { scroll-behavior: auto; transition-duration: .01ms !important; }
}
.ec-nav-summer{color:#eb6935!important;font-weight:900!important}.ec-mobile-links .ec-mobile-summer{background:#135b62;color:#fff!important;border-radius:8px;font-weight:900}.ec-home-summer{background:#135b62;color:#fff;padding:27px 0}.ec-home-summer__inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.ec-home-summer span{font-size:10px;letter-spacing:.15em;font-weight:900;color:#f8c54a}.ec-home-summer h2{color:#fff;font-size:clamp(28px,4vw,50px);font-weight:900;letter-spacing:-.06em;margin:4px 0}.ec-home-summer p{font-size:13px;margin:0}.ec-home-summer a{display:inline-flex;align-items:center;justify-content:center;background:#eb6935;color:#fff;border-radius:5px;padding:14px 22px;font-size:12px;font-weight:900;white-space:nowrap}.ec-profile-summer{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#135b62;color:#fff;padding:15px max(20px,calc((100vw - 1200px)/2));}.ec-profile-summer div{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.ec-profile-summer span{font-size:10px;letter-spacing:.12em;font-weight:900;color:#f8c54a}.ec-profile-summer strong{font-size:13px}.ec-profile-summer a{color:#fff;font-size:12px;font-weight:900;white-space:nowrap}@media(max-width:650px){.ec-home-summer__inner{align-items:flex-start;flex-direction:column}.ec-profile-summer{align-items:flex-start;flex-direction:column;gap:8px}.ec-profile-summer div{gap:4px;flex-direction:column}}
